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

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x54]
push ebp
mov ebp, dword [esp + 0x74]
push esi
xor esi, esi
mov dword [ebp], esi
mov eax, dword [ebx]
push edi
and eax, 0xfffffdff
push 8
mov dword [esp + 0x64], eax
lea eax, [esp + 0x38]
push esi
push eax
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], 0xffffffff
call fcn.00427570
add esp, 0xc
mov ecx, ebx
mov dword [esp + 0x18], esi
call fcn.004c0ac0
mov edi, dword [esp + 0x70]
cmp edi, esi
mov esi, dword [esp + 0x74]
mov dword [esp + 0x30], eax
je 0x4c0c1f
cmp dword [esp + 0x68], 0
je 0x4c0ba5
test dword [ebx], 0x8800
je 0x4c0c1f
mov ecx, dword [edi]
mov ecx, dword [ecx]
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0x6c]
push eax
push edi
call ecx
add esp, 0xc
test eax, eax
je 0x4c0bd7
push ebp
mov edx, dword [esp + 0x14]
push 0xffffffffffffffff
push edx
push ebx
push eax
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x28]
push ecx
push esi
call fcn.004c0780
add esp, 0x18
test eax, eax
je 0x4c0c1f
test dword [ebx], 0x8000
je 0x4c0c1f
mov edx, dword [esi]
push edx
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x70]
push ecx
push edi
call fcn.004c75c0
add esp, 0x10
test eax, eax
jne 0x4c0bbd
mov eax, dword [ebx + 0xc]
mov ecx, dword [esp + 0x78]
cmp dword [ecx + eax*4], 0x5ac6ec
jne 0x4c0c3f
pop edi
mov dword [esi], 0
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push edx
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x28]
push eax
push esi
call fcn.004c0780
mov ecx, dword [esp + 0x78]
add esp, 0x18
test eax, eax
je 0x4c0cd8
cmp eax, 0x800
jne 0x4c0cb7
test eax, ecx
je 0x4c0cb7
mov ecx, dword [esp + 0x10]
push ebp
push 0xffffffffffffffff
push ecx
mov ecx, dword [esp + 0x78]
push ebx
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x7c]
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x90]
push ecx
push edx
push eax
mov eax, dword [esp + 0x3c]
push ebx
call fcn.004c0920
add esp, 0x18
push eax
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
cmp dword [esp + 0x30], 0
jne 0x4c0cd8
push ebp
mov ecx, dword [esp + 0x14]
push 0xffffffffffffffff
push ecx
push ebx
push eax
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ebp, dword [esi]
test ebp, ebp
jne 0x4c0ce9
mov edx, dword [esp + 0x28]
add edx, 4
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x34]
test eax, eax
mov edx, dword [esp + 0x68]
je 0x4c0cfb
sub eax, edx
mov dword [esp + 0x20], eax
mov eax, ecx
and eax, 0x1ff
cmp eax, 0x102
je 0x4c1179
movzx edx, cl
cmp dword [esp + 0x18], edx
je 0x4c0d9d
mov eax, ecx
and eax, 0x4420
cmp eax, 0x4420
jne 0x4c0d6f
test byte [ebx + 0x14], 0x20
lea eax, [ebx + 0x14]
jne 0x4c0d6f
and ecx, 0xdf
cmp dword [esp + 0x18], ecx
jne 0x4c0d6f
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x10]
push ecx
push edx
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x70]
push edi
push ebp
push edx
push ecx
push eax
call fcn.004c0b30
add esp, 0x20
test eax, eax
je 0x4c0d9d
mov edx, dword [esp + 0x7c]
push edx
jmp 0x4c0cbf
test dword [ebx], 0x200
jne 0x4c0c2f
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x10]
push edx
push 0xffffffffffffffff
push eax
push ebx
push 0x807
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test byte [esp + 0x18], 0x20
je 0x4c1044
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.004c1580
mov ecx, 1
add esp, 8
cmp dword [esp + 0x14], ecx
jbe 0x4c0ded
mov edx, dword [esp + 0x78]
lea eax, [ebx + 0x14]
cmp dword [eax], 0x103
je 0x4c0dd9
mov ebp, dword [eax + 0xc]
cmp dword [edx + ebp*4], 0
jne 0x4c0de7
add ecx, 1
add eax, 0x14
cmp ecx, dword [esp + 0x14]
jb 0x4c0dc8
jmp 0x4c0ded
cmp ecx, dword [esp + 0x14]
jb 0x4c0e26
cmp dword [esi], 0
jne 0x4c1044
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push edx
push eax
push esi
call fcn.004c17a0
add esp, 0xc
test eax, eax
je 0x4c0e17
mov ecx, dword [esp + 0x7c]
push ecx
jmp 0x4c0bbe
mov ecx, dword [esi]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
jmp 0x4c1048
cmp dword [esi], 0
jne 0x4c0e39
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x38], ecx
jmp 0x4c0e3d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x60]
test al, 0xc0
je 0x4c0e54
test eax, 0x1000
mov dword [esp + 0x28], 1
je 0x4c0e5c
mov dword [esp + 0x28], 0
test edi, edi
je 0x4c0e80
mov edx, dword [esp + 0x20]
mov eax, dword [edi + 4]
add dword [edi + 0x14], edx
mov edi, dword [edi + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x20], 0
mov ebp, 1
jmp 0x4c0e94
xor edi, edi
mov dword [esp + 0x20], edi
lea ebp, [edi + 1]
jmp 0x4c0e94
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x28], 0
jne 0x4c0ee7
test dword [esp + 0x60], 0x400
je 0x4c0eac
add dword [esp + 0x1c], 1
jmp 0x4c0ebd
lea eax, [ebp + ebp*4]
cmp dword [ebx + eax*4], 0x103
je 0x4c0fa0
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
jne 0x4c0edd
mov eax, dword [esp + 0x34]
cmp byte [edi + eax], 0
jne 0x4c0ee7
cmp byte [edi + eax + 1], 0
je 0x4c0fa0
jmp 0x4c0ee7
cmp dword [esp + 0x20], ecx
jae 0x4c0fa0
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4c0ef7
mov eax, dword [edx + 0x10]
sub eax, dword [edx + 0x14]
jmp 0x4c0efb
sub ecx, edi
mov eax, ecx
lea ecx, [ebp + ebp*4]
lea esi, [ebx + ecx*4]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x74]
push eax
lea eax, [edi + edx]
push eax
push ecx
push esi
call fcn.004c0b30
add esp, 0x20
test eax, eax
jne 0x4c0f7b
mov eax, dword [esp + 0x70]
test eax, eax
mov ecx, dword [esp + 0x2c]
je 0x4c0f49
mov edx, dword [eax + 4]
mov edi, dword [eax + 0x14]
mov dword [esp + 0x34], edx
jmp 0x4c0f4b
add edi, ecx
add dword [esp + 0x20], ecx
cmp dword [esp + 0x28], 0
jne 0x4c0f9c
test dword [esp + 0x60], 0x400
jne 0x4c0e90
lea eax, [esp + 0x14]
push esi
push eax
call fcn.004c1580
add esp, 8
add ebp, dword [esp + 0x14]
jmp 0x4c0e90
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push ecx
push ebx
push eax
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
jne 0x4c10ef
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c0fb9
add dword [eax + 0x14], 2
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov ecx, edi
add eax, esi
mov dword [esp + 0x38], ecx
mov dword [edx], eax
cmp dword [esp + 0x28], 0
jne 0x4c11a2
test dword [esp + 0x60], 0x400
jne 0x4c11a2
lea edx, [ebp + ebp*4]
lea eax, [ebx + edx*4]
mov edx, dword [eax]
cmp edx, 0x103
je 0x4c11a2
mov esi, dword [esp + 0x78]
lea ecx, [ecx]
test edx, 0x200
jne 0x4c1018
mov ecx, dword [eax + 0xc]
cmp dword [esi + ecx*4], 0x5ac6ec
jne 0x4c111e
push eax
lea edx, [esp + 0x18]
push edx
call fcn.004c1580
add ebp, dword [esp + 0x1c]
add esp, 8
lea eax, [ebp + ebp*4]
mov edx, dword [ebx + eax*4]
cmp edx, 0x103
lea eax, [ebx + eax*4]
jne 0x4c1000
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov ecx, dword [esp + 0x38]
mov eax, dword [ebx + 0xc]
mov edx, dword [esp + 0x78]
cmp dword [edx + eax*4], 0
lea ebp, [edx + eax*4]
je 0x4c11e9
mov eax, dword [ebx + 4]
test eax, eax
je 0x4c11c8
mov edx, dword [esp + 0x18]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x68]
add edx, 1
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x50], edx
mov edx, dword [esi]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x58], 0
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x40]
push edx
call eax
mov ebp, eax
mov eax, dword [esp + 0x60]
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], eax
call fcn.004c1830
add esp, 0xc
test ebp, ebp
je 0x4c11af
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push edx
push eax
push ecx
push ebx
push ebp
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
cmp dword [esp + 0x20], ecx
je 0x4c0fcb
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
push ebx
push 0x806
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
lea ecx, [ebp + ebp*4]
mov eax, dword [ebx + ecx*4 + 0x10]
test eax, eax
lea esi, [ebx + ecx*4 + 0x10]
je 0x4c1154
push eax
call fcn.00427650
add eax, 1
push eax
call fcn.00427670
add esp, 8
test eax, eax
mov dword [esp + 0x10], eax
je 0x4c1158
mov edx, dword [esi]
push edx
push eax
call fcn.00427610
add esp, 8
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push eax
push ebx
push 0x805
call fcn.004c1b00
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
test ebp, ebp
jne 0x4c1044
mov eax, dword [esp + 0x6c]
push eax
push edx
push esi
call fcn.004c17a0
add esp, 0xc
test eax, eax
je 0x4c0e17
mov ecx, dword [esp + 0x7c]
push ecx
jmp 0x4c0bbe
mov edi, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
jmp 0x4c1048
test edi, edi
je 0x4c11e9
test byte [ebx], 0x20
je 0x4c11c1
cmp dword [ebx + 0x14], 0x103
jne 0x4c11e9
mov edx, dword [esi]
add dword [edi + 0x14], edx
jmp 0x4c11e9
test edi, edi
mov eax, dword [ebp]
mov ecx, dword [esp + 0x68]
mov dword [eax], ecx
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + edx*4]
mov edx, dword [esi]
mov dword [ecx + 4], edx
je 0x4c11e9
mov eax, dword [esi]
add dword [edi + 0x14], eax
test dword [ebx], 0x8000
je 0x4c1213
mov ecx, dword [esi]
add dword [esp + 0x68], ecx
test edi, edi
je 0x4c1213
mov edx, dword [edi]
mov edx, dword [edx]
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x6c]
push ecx
push edi
call edx
add esp, 0xc
test eax, eax
jne 0x4c1215
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret