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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0xec
mov ebx, eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x100]
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], ecx
mov esi, dword [esp + 0x108]
mov dword [esp + 0x70], esi
mov edi, dword [esp + 0x10c]
mov dword [esp + 0x60], edi
mov ebp, dword [esp + 0x11c]
mov eax, dword [esp + 0x110]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x114]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
mov edx, dword [ebx + 0x1c8]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x118]
test ebp, ebp
je 0x4ca07f
mov eax, dword [esp + 0x120]
test eax, eax
je 0x4ca07f
cmp edx, dword [ebp]
je 0x4ca207
mov ecx, dword [esp + 0x120]
dec ecx
xor eax, eax
jmp 0x4ca07b
inc eax
cmp edx, dword [ebp + eax*4]
je 0x4ca207
cmp eax, ecx
jne 0x4ca070
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov esi, dword [esp + 0x60]
cmp dword [esp + 0x4c], esi
jge 0x4ca350
mov esi, dword [esp + 0x70]
mov dword [esp + 0x68], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
lea esi, [ebx + 0x18]
mov edi, dword [esp + 0x120]
dec edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x54], ebp
mov ebp, esi
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
sub eax, dword [esp + 0x48]
sbb edx, dword [esp + 0x4c]
cmp edx, 0
jl 0x4ca68b
jle 0x4ca680
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
add esi, dword [esp + 0x38]
adc edi, dword [esp + 0x3c]
mov eax, edi
shr eax, 0x1f
xor edx, edx
add eax, esi
adc edx, edi
shrd eax, edx, 1
sar edx, 1
mov edi, eax
mov dword [esp + 0x40], edx
xor edx, dword [ebx + 0xc]
mov eax, dword [ebx + 8]
xor eax, edi
or edx, eax
je 0x4ca16c
mov edx, dword [ebx]
test edx, edx
je 0x4ca6a7
mov eax, dword [ebx + 0x2c4]
test eax, eax
je 0x4ca65e
mov dword [esp + 0xc], 0
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
mov dword [esp], edx
call eax
inc eax
je 0x4ca65e
mov dword [ebx + 8], edi
mov esi, dword [esp + 0x40]
mov dword [ebx + 0xc], esi
mov dword [esp], ebp
call fcn.004e7560
lea esi, [esp + 0xa0]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 4], esi
mov dword [esp], ebp
call fcn.004e6e70
cmp eax, 0
jl 0x4ca620
jne 0x4ca630
call fcn.0062b7b0
mov dword [eax], 0
mov eax, dword [ebx + 0x2c0]
test eax, eax
je 0x4ca65e
mov eax, dword [ebx]
test eax, eax
je 0x4ca395
mov dword [esp + 4], 0x800
mov dword [esp], ebp
call fcn.004e6d70
mov edx, dword [ebx]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0x800
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [ebx + 0x2c0]
cmp eax, 0
jle 0x4ca380
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.004e6e40
jmp 0x4ca180
cmp dword [esp + 0x74], edx
je 0x4ca24f
lea edi, [esp + 0x78]
lea esi, [esp + 0x118]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x118], ebp
mov dword [esp + 4], edi
mov dword [esp], esi
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x38]
mov eax, ebx
call fcn.004c8230
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [esp + 0x118], ebp
jne 0x4ca220
mov ebp, dword [esp + 0x124]
inc ebp
mov dword [ebx + 0x34], ebp
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x4ca269
mov dword [esp], eax
call fcn.0062b658
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x4ca278
mov dword [esp], eax
call fcn.0062b658
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x4ca287
mov dword [esp], eax
call fcn.0062b658
mov esi, dword [ebx + 0x34]
lea eax, [esi*8 + 8]
mov dword [esp], eax
call fcn.0062b6b8
mov dword [ebx + 0x38], eax
shl esi, 5
mov dword [esp + 4], esi
mov eax, dword [ebx + 0x48]
mov dword [esp], eax
call fcn.0062b738
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x34]
shl eax, 4
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call fcn.0062b738
mov dword [ebx + 0x4c], eax
mov esi, dword [ebx + 0x34]
lea eax, [esi*4]
mov dword [esp], eax
call fcn.0062b6b8
mov dword [ebx + 0x40], eax
lea eax, [esi*8]
mov dword [esp], eax
call fcn.0062b6b8
mov dword [ebx + 0x3c], eax
shl esi, 4
mov dword [esp], esi
call fcn.0062b6b8
mov dword [ebx + 0x44], eax
mov edx, dword [ebx + 0x38]
mov ebx, dword [esp + 0x70]
mov dword [edx + ebp*8], ebx
mov esi, dword [esp + 0x60]
mov dword [edx + ebp*8 + 4], esi
mov edi, dword [esp + 0x40]
mov ebp, dword [esp + 0x44]
mov ebx, dword [esp + 0x124]
mov dword [edx + ebx*8], edi
mov dword [edx + ebx*8 + 4], ebp
mov ecx, ebx
shl ecx, 4
add ecx, eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
test edx, edx
js 0x4ca69e
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], edx
xor eax, eax
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
jg 0x4ca360
mov edi, dword [esp + 0x70]
cmp dword [esp + 0x48], edi
jb 0x4ca0a3
mov esi, dword [esp + 0x70]
mov dword [esp + 0x68], esi
mov edi, dword [esp + 0x60]
mov dword [esp + 0x6c], edi
jmp 0x4ca3c9
jne 0x4ca670
call fcn.0062b7b0
mov esi, dword [eax]
test esi, esi
jne 0x4ca65e
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov eax, edx
cmp dword [esp + 0x4c], eax
jl 0x4ca0d0
jg 0x4ca3bd
mov edx, dword [esp + 0x38]
cmp dword [esp + 0x48], edx
jb 0x4ca0d0
mov ebp, dword [esp + 0x54]
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edi
lea edi, [esp + 0x98]
lea esi, [esp + 0x94]
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x74]
lea esi, [esi]
lea edi, [edi]
mov dword [esp + 0x94], ebp
mov dword [esp + 4], edi
mov dword [esp], esi
mov ecx, dword [esp + 0x120]
mov edx, dword [esp + 0x38]
mov eax, ebx
call fcn.004c8230
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
cmp dword [esp + 0x94], ebp
jne 0x4ca3f0
xor edx, dword [esp + 0x6c]
xor eax, dword [esp + 0x68]
or edx, eax
je 0x4ca478
mov edx, dword [ebx]
test edx, edx
je 0x4ca6a7
mov eax, dword [ebx + 0x2c4]
test eax, eax
je 0x4ca65e
mov dword [esp + 0xc], 0
mov ebp, dword [esp + 0x68]
mov dword [esp + 4], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 8], esi
mov dword [esp], edx
call eax
inc eax
je 0x4ca65e
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], esi
lea eax, [ebx + 0x18]
mov dword [esp], eax
call fcn.004e7560
lea esi, [esp + 0xb0]
mov dword [esp + 0x48], esi
lea esi, [esp + 0xc0]
mov dword [esp + 0x54], esi
lea eax, [esp + 0x90]
mov dword [esp + 4], eax
lea eax, [esp + 0x8c]
mov dword [esp], eax
lea ecx, [esp + 0xb0]
mov edx, esi
mov eax, ebx
call fcn.004c7960
test eax, eax
jne 0x4ca345
mov edi, dword [ebx + 0x1c8]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
lea edx, [esp + 0xc0]
mov eax, ebx
call fcn.004c7770
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x124]
inc ebp
mov dword [esp + 0x24], ebp
mov eax, dword [esp + 0x90]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x118]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov esi, dword [esp + 0x70]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov dword [esp], eax
mov dword [esp + 4], edx
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov eax, ebx
call fcn.004c9fc0
test eax, eax
jne 0x4ca345
mov edx, dword [esp + 0x8c]
test edx, edx
je 0x4ca571
mov dword [esp], edx
mov dword [esp + 0x34], eax
call fcn.0062b658
mov eax, dword [esp + 0x34]
lea ecx, [ebp*8]
mov esi, dword [ebx + 0x38]
mov edx, dword [esp + 0x68]
mov dword [esi + ecx], edx
mov edx, dword [esp + 0x6c]
mov dword [esi + ecx + 4], edx
mov edx, dword [ebx + 0x40]
mov dword [edx + ebp*4], edi
mov edx, dword [ebx + 0x3c]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [edx + ecx], esi
mov dword [edx + ecx + 4], edi
mov edx, ebp
shl edx, 5
add edx, dword [ebx + 0x48]
mov ecx, 8
mov edi, edx
mov esi, dword [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
mov edx, ebp
shl edx, 4
mov edi, dword [ebx + 0x4c]
add edi, edx
mov cl, 4
mov esi, dword [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x44]
mov esi, dword [esp + 0x124]
shl esi, 4
mov edi, dword [esp + 0x98]
mov ebp, dword [esp + 0x9c]
mov dword [ecx + esi + 8], edi
mov dword [ecx + esi + 0xc], ebp
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x3c]
mov dword [ecx + edx], edi
mov dword [ecx + edx + 4], ebp
lea ecx, [ecx + esi + 0x18]
sub dword [ecx], edi
sbb dword [ecx + 4], ebp
mov esi, dword [ecx]
mov edi, dword [ecx + 4]
test edi, edi
js 0x4ca76d
mov dword [ecx], esi
mov dword [ecx + 4], edi
jmp 0x4ca345
cdq
sub dword [ebx + 8], eax
sbb dword [ebx + 0xc], edx
jmp 0x4ca180
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
cdq
add eax, dword [esp + 0x58]
adc edx, dword [esp + 0x5c]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x5c]
not edx
mov eax, dword [esp + 0x58]
xor eax, 0xffffff80
or edx, eax
jne 0x4ca6b1
mov eax, 0xffffff80
add esp, 0xec
pop ebx
pop esi
pop edi
pop ebp
ret
jge 0x4ca180
jmp 0x4ca65e
cmp eax, 0xffff
ja 0x4ca0ef
mov edi, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x40], eax
mov edx, eax
jmp 0x4ca116
xor eax, eax
xor edx, edx
jmp 0x4ca33d
mov eax, 0xffffff7f
jmp 0x4ca345
test ecx, ecx
js 0x4ca75a
mov dword [esp], esi
call fcn.004e5fc0
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4ca6fa
mov edx, dword [esp + 0x120]
test edx, edx
je 0x4ca737
mov ecx, dword [esp + 0x54]
cmp eax, dword [ecx]
je 0x4ca720
xor edx, edx
mov esi, ecx
mov ecx, dword [esp + 0x64]
jmp 0x4ca6f6
inc edx
cmp eax, dword [esi + edx*4]
je 0x4ca720
cmp edx, ecx
jne 0x4ca6f0
mov esi, dword [esp + 0x58]
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x38], edi
mov edx, dword [esp + 0x40]
mov dword [esp + 0x3c], edx
mov eax, edx
jmp 0x4ca3a3
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x3c]
jmp 0x4ca3a3
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x68], ecx
mov esi, dword [esp + 0x5c]
mov dword [esp + 0x6c], esi
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x3c], edi
mov eax, edi
jmp 0x4ca3a3
mov dword [esp + 0x38], edi
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov eax, ecx
jmp 0x4ca3a3
xor esi, esi
xor edi, edi
jmp 0x4ca611