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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ca206
add esp, 0xffffff80
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x94]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
call fcn.004cc880
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test ecx, ecx
jne 0x4c9fb2
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
mov dword [edx], ecx
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4c9c97
mov ebx, dword [esp + 0x8c]
mov dword [edx + 4], ebx
jmp 0x4c9cb1
lea edi, [edx + 4]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045c980
mov eax, ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x44], eax
mov ebp, dword [eax + 0x1c]
mov dword [esp + 0x2c], ebp
mov esi, dword [esp + 0x94]
cmp esi, ebp
mov edi, ebx
sete bl
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x90]
cmp edx, ecx
seta cl
cmp esi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ecx
or ebx, ebp
test bl, bl
je 0x4c9e0b
mov ecx, dword [esp + 0x28]
sub edx, ecx
mov ecx, dword [esp + 0x2c]
sbb esi, ecx
mov eax, 0x88888889
mov ebp, edx
mul esi
shr edx, 4
mov dword [esp + 0x2c], edx
imul ebx, edx, 0x1e
sub esi, ebx
mov eax, esi
mov ebx, 0x8888888
mul ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov ebx, eax
mov eax, 0x88888889
mul ebp
shr edx, 4
mov eax, edx
add edx, 0
add ebx, edx
imul ecx, eax, 0x1e
sub ebp, ecx
shl esi, 4
lea ecx, [ebp + esi]
mov ebp, eax
mov eax, 0x88888889
mov esi, edx
mul ecx
shr edx, 4
mov ecx, edx
add edx, ebx
add ebp, 0
mov ebp, dword [esp + 0x2c]
adc ebp, 0
mov eax, edx
mov edx, dword [esp + 0x24]
add edx, esi
mov edx, dword [esp + 0x28]
adc edx, ebp
add ecx, ebx
adc edx, 0
mov ecx, dword [esp + 0x44]
mov ebx, dword [ecx + 0x10]
cmp eax, ebx
xchg ebp, ebx
setae bl
xchg ebp, ebx
mov esi, dword [ecx + 0x14]
cmp esi, edx
sete dl
mov eax, ebx
setb bl
and ebp, edx
or ebx, ebp
test bl, bl
jne 0x4c9da2
mov eax, ecx
mov edx, dword [esp + 0x90]
jmp 0x4c9e0b
lea ecx, [0x546580]
mov dword [esp], ecx
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], eax
call fcn.004463e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], edx
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4c9df3
mov dword [ebx + 8], eax
jmp 0x4c9dfb
lea edi, [ebx + 8]
call fcn.0045c980
mov eax, ecx
mov edx, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov ecx, dword [eax + 0x2c]
mov ebx, dword [eax + 0x30]
mov ebp, dword [esp + 0x84]
mov dword [ebp + 0x18], ebx
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4c9e2a
mov dword [ebp + 0x14], ecx
jmp 0x4c9e36
lea ebx, [ebp + 0x14]
mov edi, ebx
mov eax, ecx
call fcn.0045c980
nop
lea eax, [0x53d420]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov dword [eax], ecx
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4c9e68
mov edx, dword [esp + 0x8c]
mov dword [eax + 4], edx
jmp 0x4c9e82
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045c980
mov eax, edx
mov edx, dword [esp + 0x8c]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ebx, dword [esp + 0x94]
mov dword [eax + 0x1c], ebx
mov ebx, dword [esp + 0x90]
mov dword [eax + 0x18], ebx
mov ebx, dword [esp + 0x44]
mov ebp, dword [ebx + 0x24]
mov esi, dword [ebx + 0x20]
test ebp, ebp
jge 0x4c9ece
mov ebp, dword [0x6639d8]
mov esi, dword [0x6639dc]
jmp 0x4c9ed8
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], ebp
xor ebp, ebp
xor esi, esi
test ebp, ebp
jne 0x4c9fa0
mov dword [esp + 0x30], eax
nop
nop
lea eax, [0x5421c0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x5317a0]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call fcn.00446320
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045cbc5
mov eax, dword [esp + 0x50]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], 0x1000
mov dword [esp + 0x5c], 0x1000
lea eax, [0x5878b4]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [0x68ad40]
test eax, eax
jne 0x4c9f80
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x54]
call fcn.0045d072
jmp 0x4c9fc4
lea eax, [0x5421c0]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea ecx, [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.0040fad0
jmp 0x4c9fc4
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
sub esp, 0xffffff80
ret
lea eax, [0x540be0]
mov dword [esp], eax
call fcn.0040b290
mov eax, dword [esp + 4]
mov ecx, dword [0x68ad40]
test ecx, ecx
jne 0x4c9fec
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x60], ecx
jmp 0x4ca006
lea edi, [eax + 0x60]
mov ecx, eax
mov eax, dword [esp + 0x84]
call fcn.0045c980
mov eax, ecx
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x88]
mov dword [eax + 0x64], edx
mov ebx, dword [0x68ad40]
test ebx, ebx
jne 0x4ca026
mov ebx, dword [esp + 0x8c]
mov dword [eax + 0x68], ebx
jmp 0x4ca039
lea edi, [eax + 0x68]
mov ebx, eax
mov eax, dword [esp + 0x8c]
call fcn.0045c980
mov eax, ebx
mov dword [esp + 0x38], eax
mov dword [esp], eax
lea ecx, [0x5877ec]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 8], edx
call fcn.004cac90
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [0x663794]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x20], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x3c], esi
cmp dword [0x663790], eax
je 0x4ca089
xor edx, edx
jmp 0x4ca0bc
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403330
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
mov edx, eax
mov eax, dword [esp + 0x48]
test dl, dl
je 0x4ca0c7
mov eax, 1
jmp 0x4ca0fa
mov edx, dword [0x6639cc]
cmp dword [0x6639c8], eax
je 0x4ca0d9
xor eax, eax
jmp 0x4ca0fa
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403330
movzx eax, byte [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
test al, al
jne 0x4ca1c4
test ebx, ebx
jne 0x4ca1b2
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.004ca5d0
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + 1]
mov ebx, dword [eax + 8]
mov ebp, dword [eax + 0x10]
cmp ebp, edx
jae 0x4ca181
lea eax, [0x546580]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], edx
call fcn.004464a0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x84]
mov dword [ebx + 0x10], edx
mov edx, dword [0x68ad40]
test edx, edx
jne 0x4ca170
mov dword [ebx + 8], eax
jmp 0x4ca178
lea edi, [ebx + 8]
call fcn.0045c980
mov ebx, eax
mov eax, dword [esp + 0x84]
lea edx, [ecx + 1]
mov dword [eax + 0xc], edx
mov edx, dword [0x68ad40]
lea edi, [ebx + ecx*4]
test edx, edx
jne 0x4ca1a0
mov edx, dword [esp + 0x38]
mov dword [ebx + ecx*4], edx
jmp 0x4c9fc4
mov ecx, eax
mov eax, dword [esp + 0x38]
call fcn.0045c980
mov eax, ecx
jmp 0x4c9fc4
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov eax, dword [esp + 0x84]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + 0x10]
cmp ax, cx
je 0x4ca1ec
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], esi
sub esp, 0xffffff80
ret
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
sub esp, 0xffffff80
ret
call fcn.0045b540
jmp fcn.004c9c10