Function at 0x4bc070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
push esi
mov esi, edx
mov dword [esp + 0x1c], ecx
xorps xmm0, xmm0
mov dword [esp + 0x20], esi
push edi
movlpd qword [esp + 0x60], xmm0
mov edx, dword [esi]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov byte [esp + 0x13], 0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 0x51], 0
jne 0x4bcc2e
mov ecx, dword [ebp + 8]
mov ebx, dword [esi + 0x14]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add ebx, ecx
mov dword [esp + 0x18], ecx
lea ecx, [edx + 0x1e8]
mov dword [esp + 0x28], ecx
mov edi, dword [ebx]
mov dword [esp + 0x6c], edi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4bc100
call fcn.004bcd40
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], edx
jmp 0x4bc116
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x48], ecx
movzx ecx, byte [edi]
mov dword [esp + 0x2c], ecx
cmp ecx, 0x31
jne 0x4bc151
mov edx, edi
mov ecx, eax
call fcn.00484290
test eax, eax
jne 0x4bcc2e
test dword [edi + 4], 0x800
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x28]
je 0x4bc14a
call fcn.004bbe20
jmp 0x4bc189
call fcn.004bce80
jmp 0x4bc189
cmp ecx, 0x32
jne 0x4bc166
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
jmp 0x4bc18f
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4bc178
mov ecx, dword [esp + 0x28]
call fcn.004bcd40
jmp 0x4bc189
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov eax, dword [esp + 0x28]
mov edx, edi
mov ecx, eax
mov dword [eax], 0
call fcn.004bcd40
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
cmp dword [ecx], 0
je 0x4bc1bc
mov edx, 0x1000
or word [ebx + 0xa], dx
test byte [edi + 4], 1
je 0x4bc221
movsx edx, word [edi + 0x24]
call fcn.004bd1d0
or dword [esp + 0x34], edx
mov ecx, eax
mov eax, dword [esp + 0x30]
or eax, ecx
mov dword [esp + 0x40], ecx
add dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x44], edx
adc dword [esp + 0x44], 0xffffffff
shrd dword [esp + 0x38], eax, 1
shr eax, 1
cmp eax, edx
jb 0x4bc233
ja 0x4bc209
cmp dword [esp + 0x38], ecx
jb 0x4bc233
push str.length
push dword [esp + 0x18]
call fcn.0044ed00
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x40], ecx
jmp 0x4bc237
mov eax, dword [esp + 0x30]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x2c], eax
xor eax, eax
mov word [ebx + 0xc], ax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x14], 0xffffffff
mov dword [ebx + 0x10], 0xffffffff
cmp eax, 0x31
je 0x4bc3a9
cmp eax, 0x35
jb 0x4bc270
cmp eax, 0x39
jbe 0x4bc3a9
cmp eax, 0x32
je 0x4bc3a9
cmp eax, 0x2d
je 0x4bc3a9
mov al, byte [edi]
cmp al, 0x30
jne 0x4bc384
cmp byte [esi + 8], 0x2c
jne 0x4bc384
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [esp + 0x4c], 0
mov dword [esp + 0x58], eax
mov edx, dword [eax]
test edx, edx
je 0x4bc2c2
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.00481720
add esp, 8
mov ebx, eax
jmp 0x4bc2c4
xor ebx, ebx
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4bc2dd
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.00481720
add esp, 8
jmp 0x4bc2df
xor eax, eax
mov ecx, dword [esp + 0x14]
push ebx
push eax
mov eax, dword [esp + 0x54]
movzx edx, byte [eax + 0x6315bc]
call fcn.00481130
add esp, 8
test eax, eax
je 0x4bc30d
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 3
mov edx, eax
mov ecx, esi
call fcn.004badf0
mov ebx, dword [esp + 0x28]
add esp, 4
mov ecx, dword [esp + 0x20]
mov esi, eax
mov edx, ebx
push esi
call fcn.004bc070
mov ecx, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov eax, dword [esp + 0x1c]
add edx, edx
mov esi, dword [ebp + 8]
add esp, 4
mov dword [ecx + edx*8 + 0x10], esi
lea ebx, [ecx + eax]
mov esi, dword [esp + 0x24]
mov ecx, dword [esi + 0x14]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x58]
inc ecx
add eax, 0x14
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], eax
cmp ecx, 2
jl 0x4bc2a8
jmp 0x4bc5ad
cmp al, 0x2b
jne 0x4bc5ad
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.004bb680
mov ebx, dword [esi + 0x14]
add esp, 4
add ebx, dword [esp + 0x18]
jmp 0x4bc5ad
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4bc3c0
test dword [edx + 4], 0x1000
je 0x4bc3c0
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4bc3b0
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
test eax, eax
je 0x4bc3e4
nop dword [eax + eax]
test dword [eax + 4], 0x1000
je 0x4bc3e0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4bc3d0
mov dword [esp + 0x38], eax
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
and ecx, dword [esp + 0x48]
and eax, dword [esp + 0x4c]
or ecx, eax
mov dword [esp + 0x58], 0x1fff
je 0x4bc406
mov dword [esp + 0x58], 0x800
mov eax, dword [ebx + 0x18]
test eax, eax
jle 0x4bc417
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx*4 - 0x10]
push dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push edx
push dword [esp + 0x54]
lea edx, [esp + 0x7c]
push dword [esp + 0x54]
call fcn.004bbff0
add esp, 0x10
test eax, eax
je 0x4bc458
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [ebx + 0x1c], eax
call fcn.004bb020
and ax, word [esp + 0x58]
mov word [ebx + 0xc], ax
mov ecx, dword [esp + 0x2c]
mov eax, 0x800
cmp ecx, 0x2d
jne 0x4bc46a
or word [ebx + 0xa], ax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4bc5ad
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
push eax
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.004bbff0
add esp, 0x10
test eax, eax
je 0x4bc5ad
cmp dword [ebx + 0x14], 0
mov dword [esp + 0x60], 0
jl 0x4bc60a
mov ebx, dword [esp + 0x1c]
mov edx, edi
push 0
push 0
mov ecx, ebx
call fcn.00481720
add esp, 8
mov dword [esp + 0x38], eax
cmp byte [ebx + 0x51], 0
je 0x4bc4de
test eax, eax
je 0x4bcc2e
mov edx, eax
mov ecx, ebx
call fcn.00481520
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
mov edx, eax
mov ecx, esi
call fcn.004badf0
add esp, 4
test eax, eax
je 0x4bcc2e
push dword [ebp + 8]
lea ebx, [eax + eax*2]
mov edx, eax
shl ebx, 4
mov ecx, esi
add ebx, dword [esi + 0x14]
mov dword [esp + 0x60], ebx
call fcn.004bb530
add esp, 4
cmp dword [esp + 0x2c], 0x2d
jne 0x4bc520
mov eax, 0x800
or word [ebx + 0xa], ax
mov ebx, dword [esi + 0x14]
add ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
or word [ebx + 0xa], 8
call fcn.004bbd80
test eax, eax
je 0x4bc54a
mov eax, 0x800
or word [ebx + 0xc], ax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, eax
call fcn.004baf70
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x4c]
or ecx, dword [esp + 0x44]
or word [edx + 0xa], ax
mov eax, dword [esp + 0x70]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x48]
or eax, dword [esp + 0x40]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 0x24], ecx
movzx ecx, byte [eax]
call fcn.004bb020
add ax, word [esp + 0x60]
and ax, word [esp + 0x58]
mov word [edx + 0xc], ax
cmp byte [esi + 8], 0x2c
jne 0x4bcc19
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x54]
mov edx, edi
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004bb050
add esp, 0xc
test eax, eax
je 0x4bc865
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x3c]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x4bc619
push 0
mov edx, ecx
mov ecx, dword [esp + 0x20]
push 0
call fcn.00481720
mov ecx, dword [esp + 0x44]
add esp, 8
mov dword [esp + 0x4c], eax
jmp 0x4bc621
mov eax, edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], eax
jmp 0x4bc54e
mov dword [esp + 0x4c], 0
cmp dword [esp + 0x54], 0
je 0x4bc689
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4bc689
mov eax, 0x400
or word [ebx + 0xa], ax
xor ebx, ebx
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov cl, byte [eax]
test cl, cl
je 0x4bc689
mov edi, dword [esp + 0x3c]
mov esi, eax
movzx edx, cl
movzx eax, byte [edx + 0x631b70]
and al, 0x20
not al
and al, cl
mov byte [esi], al
mov eax, dword [esp + 0x4c]
mov ecx, dword [eax + 8]
movzx eax, byte [edx + 0x632638]
mov byte [ebx + ecx], al
inc ebx
mov esi, dword [edi + 8]
add esi, ebx
mov cl, byte [esi]
test cl, cl
jne 0x4bc652
mov edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x51], 0
jne 0x4bc6e6
mov eax, dword [esp + 0x4c]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4bc6a2
xor ecx, ecx
jmp 0x4bc6b6
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4bc6a7
sub ecx, ebx
and ecx, 0x3fffffff
mov al, byte [edx + ecx - 1]
add edx, ecx
cmp dword [esp + 0x54], 0
mov ecx, dword [esp + 0x50]
je 0x4bc6d7
xor ebx, ebx
cmp al, 0x40
movzx eax, al
cmove ecx, ebx
mov al, byte [eax + 0x632638]
inc al
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
mov byte [edx - 1], al
jmp 0x4bc6ee
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x54], 0
mov eax, 0x632048
mov ebx, str.round
cmove ebx, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], ebx
test eax, eax
je 0x4bc71c
push 0
push 0
mov edx, eax
call fcn.00481720
add esp, 8
jmp 0x4bc71e
xor eax, eax
push dword [esp + 0x3c]
mov edx, eax
push ecx
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, ebx
call fcn.00480500
add esp, 8
mov edx, 0x39
mov ecx, ebx
push eax
call fcn.00481130
add esp, 8
test eax, eax
je 0x4bc759
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
mov edx, eax
mov ecx, esi
call fcn.004badf0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, esi
mov dword [esp + 0x5c], eax
push eax
call fcn.004bc070
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x4bc799
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 0
push 0
call fcn.00481720
add esp, 8
jmp 0x4bc79b
xor eax, eax
push dword [esp + 0x4c]
mov edx, eax
push ecx
push dword [esp + 0x74]
mov ecx, ebx
call fcn.00480500
add esp, 8
mov edx, 0x38
mov ecx, ebx
push eax
call fcn.00481130
add esp, 8
test eax, eax
je 0x4bc7d5
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
mov edx, eax
mov ecx, esi
call fcn.004badf0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, esi
mov dword [esp + 0x6c], eax
push eax
call fcn.004bc070
mov ecx, dword [esi + 0x14]
add esp, 4
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x18]
lea ebx, [ecx + eax]
je 0x4bc865
mov eax, dword [esp + 0x5c]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 8]
add edx, edx
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
mov eax, dword [esp + 0x6c]
mov ecx, dword [ebp + 8]
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x14]
add edx, edx
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [esi + 0x14]
mov eax, dword [esp + 0x18]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
cmp byte [esi + 8], 0x2c
jne 0x4bcc19
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0
push eax
lea eax, [esp + 0x1b]
mov dword [esp + 0x64], 0
push eax
mov edx, edi
call fcn.004bb390
mov edx, eax
add esp, 0xc
test edx, edx
jle 0x4bca7e
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], ecx
dec edx
mov dword [esp + 0x6c], edx
test eax, eax
je 0x4bc8d4
mov ecx, dword [esp + 0x28]
mov edx, eax
call fcn.004bcd40
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], edx
jmp 0x4bc8e9
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x4bc8fe
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.004bcd40
jmp 0x4bc90f
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x4c]
or eax, edx
jne 0x4bca62
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4bc93f
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 0
push 0
call fcn.00481720
add esp, 8
mov dword [esp + 0x58], eax
jmp 0x4bc947
mov dword [esp + 0x58], 0
mov eax, dword [esp + 0x14]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0044ba80
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4bc9ab
push 0x34
push 0
push ebx
call fcn.0059d550
or eax, 0xffffffff
mov byte [ebx], 0x2e
add esp, 0xc
mov word [ebx + 0x22], ax
mov eax, dword [esp + 0x14]
mov edx, ebx
push dword [esp + 0x58]
mov ecx, dword [eax]
push 0
call fcn.004810c0
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [ebx + 0x18], eax
jle 0x4bc9c0
push eax
push str.SCopy
push ecx
call fcn.0044ed00
add esp, 0xc
jmp 0x4bc9c0
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4bc9c0
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00481520
test byte [edi + 4], 1
je 0x4bc9d6
test ebx, ebx
je 0x4bc9d6
or dword [ebx + 4], 1
mov ax, word [edi + 0x24]
mov word [ebx + 0x24], ax
push 3
mov edx, ebx
mov ecx, esi
call fcn.004badf0
mov esi, dword [esi + 0x14]
add esp, 4
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x24]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
shl edx, 4
add esi, edx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, 0x40
mov word [esi + 0xc], ax
mov al, byte [esp + 0x13]
mov byte [esi + 0xf], al
mov eax, dword [ebx + 0x14]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x18]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
mov ebx, dword [ebx + 0x14]
add ebx, ecx
mov eax, dword [ebx + 0x28]
or word [ebx + 0xa], 8
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [esi + 0x2c], eax
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], eax
test edx, edx
jg 0x4bc8b6
cmp byte [esi + 8], 0x2c
jne 0x4bcc19
mov al, byte [edi]
cmp al, 0x35
je 0x4bca96
cmp al, 0x2d
jne 0x4bcb82
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4bcaa3
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4bcaad
mov eax, dword [eax + 0x14]
jmp 0x4bcabc
cmp cl, 0x88
jne 0x4bcb82
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax]
mov dword [esp + 0x60], edx
cmp edx, 1
jle 0x4bcb82
mov ecx, dword [edi + 0x10]
call fcn.00480960
cmp eax, edx
jne 0x4bcb82
mov eax, dword [edi + 0xc]
test dword [eax + 4], 0x800
je 0x4bcaf4
test dword [ecx + 4], 0x800
jne 0x4bcb82
xor ebx, ebx
test edx, edx
jle 0x4bcb70
nop word [eax + eax]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
push ebx
call fcn.00480990
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, eax
push ebx
call fcn.00480990
movzx edx, byte [edi]
add esp, 4
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.00481130
add esp, 8
test eax, eax
je 0x4bcb48
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
mov esi, dword [esp + 0x24]
mov edx, eax
push 1
mov ecx, esi
call fcn.004badf0
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, esi
push eax
call fcn.004bc070
inc ebx
add esp, 4
cmp ebx, dword [esp + 0x60]
jl 0x4bcb00
mov ebx, dword [esi + 0x14]
add ebx, dword [esp + 0x18]
or word [ebx + 0xa], 6
xor eax, eax
mov word [ebx + 0xc], ax
cmp byte [esi + 8], 0x2c
jne 0x4bcc19
cmp byte [edi], 0x31
jne 0x4bcc19
cmp dword [ebx + 0x18], 0
jne 0x4bcc19
mov ecx, dword [edi + 0xc]
cmp byte [ecx], 0xae
jne 0x4bcc19
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4bcc19
cmp dword [eax + 0x44], 0
jne 0x4bcc19
xor ebx, ebx
call fcn.00480960
test eax, eax
jle 0x4bcc19
nop dword [eax]
push 2
mov edx, edi
mov ecx, esi
call fcn.004badf0
mov esi, eax
inc ebx
mov dword [esp + 0x64], ebx
add esp, 4
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
lea edx, [esi + esi*2]
add edx, edx
mov ecx, dword [ebx + 0x14]
push esi
mov dword [ecx + edx*8 + 0x18], eax
mov edx, ebx
mov ecx, dword [esp + 0x24]
call fcn.004bc070
add esp, 4
mov edx, esi
mov esi, ebx
mov ecx, esi
push dword [ebp + 8]
call fcn.004bb530
mov ecx, dword [edi + 0xc]
add esp, 4
call fcn.00480960
mov ebx, dword [esp + 0x60]
cmp ebx, eax
jl 0x4bcbc0
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
or dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x44]
or dword [eax + 0x24], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret