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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c10c8
sub esp, 0x74
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x10]
test ebx, 0x40
je 0x4c100f
mov ebx, dword [edx + 0x10]
test ebx, 7
je 0x4c08cb
test ebx, 0x20
je 0x4c08ad
lea edi, [esp + 0x60]
lea esi, [esp + 0x80]
call fcn.0045a83e
nop
nop
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
test ebx, 0x80000000
je 0x4c0895
shl ebx, 1
mov ebp, ecx
shr ecx, 0x1f
or ecx, ebx
shl ebp, 1
mov ebx, ecx
shl ecx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
add ebp, 0xd7b17f80
mov dword [esp + 0x68], ebp
shr ebx, 0x1f
add ecx, 0xd7b17f80
adc ebx, 0xd
mov dword [esp + 0x6c], ebx
and dword [esp + 0x60], 0x3fffffff
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
lea edi, [esp + 0x80]
lea esi, [esp + 0x60]
call fcn.0045a83e
mov ebx, dword [edx + 0x10]
test ebx, 1
jne 0x4c0e4e
mov ebx, dword [edx + 0x10]
test ebx, 6
jne 0x4c0bc8
mov ebx, dword [edx + 0x10]
test ebx, 0x18
je 0x4c0bbf
test ebx, 0x10
je 0x4c0bac
mov ecx, dword [esp + 0x98]
lea ebx, [ecx - 1]
mov ebp, dword [esp + 0x94]
jmp 0x4c08fa
dec ebx
test ebx, ebx
jle 0x4c0ba3
cmp ebx, ecx
jae 0x4c10c0
lea esi, [ebp + ebx]
cmp byte [esi], 0x2f
jne 0x4c08f9
lea eax, [ebx + 1]
sub ecx, eax
mov ebx, ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
lea eax, [ebp + ecx]
mov dword [esp + 0x98], ebx
mov ecx, dword [esp + 0x7c]
mov ebp, dword [ecx + 4]
mov dword [esp + 0x40], ebp
lea esi, [ebx + ebp]
mov dword [esp + 0x3c], esi
mov edi, dword [ecx + 8]
mov edx, dword [ecx]
cmp esi, edi
ja 0x4c0b5f
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], edx
lea ecx, [edx + ebp]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], ebx
call fcn.0045aa60
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 4], eax
mov ecx, dword [esp + 0x38]
mov dword [edi + 8], ecx
mov edx, dword [0x795b00]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x40]
lea ebx, [ebp + ebx + 1]
test edx, edx
jne 0x4c0b49
mov edx, dword [esp + 0x48]
mov dword [edi], edx
cmp ebx, ecx
ja 0x4c0afc
lea ecx, [eax + 1]
mov dword [edi + 4], ecx
mov byte [edx + eax], 0x3a
mov dword [esp], edi
mov eax, dword [esp + 0x9c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xffffffff
call fcn.004c0680
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 4]
lea ecx, [eax + 2]
mov edx, dword [edi + 8]
mov ebx, dword [edi]
cmp ecx, edx
ja 0x4c0abd
mov word [ebx + eax], 0x203a
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov ecx, dword [0x795b00]
test ecx, ecx
jne 0x4c0ab1
mov dword [edi], ebx
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
test ecx, 0x40
je 0x4c0a5f
mov ecx, dword [edi + 4]
mov edx, dword [eax + 0xc]
lea ebx, [edx + ecx]
mov dword [esp + 0x40], ebx
mov ebp, dword [edi + 8]
mov esi, dword [edi]
mov eax, dword [eax + 8]
cmp ebx, ebp
ja 0x4c0a6e
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0045aa60
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x795b00]
test eax, eax
jne 0x4c0a63
mov eax, dword [esp + 0x48]
mov dword [edi], eax
add esp, 0x74
ret
mov eax, dword [esp + 0x48]
call fcn.0045a0f0
jmp 0x4c0a5f
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x38], edx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x4c0a23
mov eax, ebx
call fcn.0045a0f0
jmp 0x4c09fb
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea ebp, [0x550e80]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.00441c00
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov edi, dword [esp + 0x7c]
jmp 0x4c09df
lea ebp, [0x550e80]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0b42
mov dword [edi], eax
mov edx, eax
mov eax, ecx
jmp 0x4c09a3
call fcn.0045a0f0
jmp 0x4c0b39
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0045a0f0
mov eax, edx
mov edx, dword [esp + 0x48]
jmp 0x4c099b
mov dword [esp + 0x94], eax
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.00441c00
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x40]
jmp 0x4c094b
mov ebx, ecx
mov eax, ebp
jmp 0x4c0925
mov ebx, dword [esp + 0x98]
mov eax, dword [esp + 0x94]
jmp 0x4c0925
mov edi, dword [esp + 0x7c]
jmp 0x4c09fb
mov edi, esp
lea esi, [esp + 0x80]
call fcn.0045a83e
call fcn.0049dae0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x28], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
call fcn.004c0680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebp, ebx
ja 0x4c0e01
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004c0680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4c0db4
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x3a
mov dword [esp], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004c0680
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x10]
test ecx, 4
jne 0x4c0cfc
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx + 4]
lea ebp, [ebx + 1]
mov esi, dword [edx]
mov edi, dword [edx + 8]
cmp ebp, edi
ja 0x4c0cac
lea ebp, [ebx + 1]
mov dword [edx + 4], ebp
mov byte [esi + ebx], 0x20
mov edx, eax
jmp 0x4c08cb
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0cf5
mov dword [edi], eax
mov edx, edi
mov ebx, ecx
mov esi, eax
mov eax, dword [esp + 0x78]
jmp 0x4c0c9b
call fcn.0045a0f0
jmp 0x4c0ce9
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 4]
lea ebx, [edx + 1]
mov ebp, dword [ecx]
mov esi, ecx
mov ecx, dword [ecx + 8]
cmp ebx, ecx
ja 0x4c0d65
lea ecx, [edx + 1]
mov dword [esi + 4], ecx
mov byte [ebp + edx], 0x2e
lea edi, [esp + 0x4c]
mov eax, esi
lea esi, [esp + 0x80]
call fcn.0045a83e
nop
mov ecx, dword [esp + 0x4c]
mov dword [esp], eax
and ecx, 0x3fffffff
mov eax, 0x4189374c
imul ecx
sar edx, 8
sar ecx, 0x1f
sub edx, ecx
mov dword [esp + 4], edx
mov dword [esp + 8], 6
call fcn.004c0680
mov eax, dword [esp + 0x78]
jmp 0x4c0c88
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ebx
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0dad
mov dword [edi], eax
mov esi, edi
mov edx, ecx
mov ebp, eax
jmp 0x4c0d11
call fcn.0045a0f0
jmp 0x4c0da2
lea eax, [0x550e80]
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.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0dfa
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4c0c57
call fcn.0045a0f0
jmp 0x4c0df1
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0e47
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x4c0c1e
call fcn.0045a0f0
jmp 0x4c0e3e
nop
mov edi, esp
lea esi, [esp + 0x80]
call fcn.0045a83e
mov byte [esp + 0x14], 1
call fcn.0049e870
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov ebx, dword [esp + 0x7c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov dword [esp + 8], 4
call fcn.004c0680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ebp, [ecx + 1]
cmp ebx, ebp
jb 0x4c0fc2
lea ebx, [ecx + 1]
mov dword [eax + 4], ebx
mov byte [edx + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004c0680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4c0f75
lea edx, [ecx + 1]
mov dword [eax + 4], edx
mov byte [ebx + ecx], 0x2f
mov dword [esp], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
mov dword [esp + 8], 2
call fcn.004c0680
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
lea edx, [ecx + 1]
mov ebx, dword [eax]
mov ebp, dword [eax + 8]
cmp edx, ebp
ja 0x4c0f2b
lea ebp, [ecx + 1]
mov dword [eax + 4], ebp
mov byte [ebx + ecx], 0x20
mov edx, dword [esp + 0x78]
jmp 0x4c08bc
lea eax, [0x550e80]
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.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0f6e
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4c0f18
call fcn.0045a0f0
jmp 0x4c0f68
lea eax, [0x550e80]
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.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c0fbb
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x4c0ee3
call fcn.0045a0f0
jmp 0x4c0fb2
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.00441c00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi + 8], edx
mov edx, dword [0x795b00]
test edx, edx
jne 0x4c1008
mov dword [edi], eax
mov edx, eax
mov eax, edi
jmp 0x4c0eaa
call fcn.0045a0f0
jmp 0x4c0fff
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 4]
mov ebx, dword [edx + 0xc]
lea ebp, [ecx + ebx]
mov dword [esp + 0x40], ebp
mov esi, dword [eax + 8]
mov edi, dword [eax]
mov edx, dword [edx + 8]
cmp ebp, esi
ja 0x4c107d
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], edi
lea eax, [edi + ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0045aa60
mov eax, dword [esp + 0x40]
mov edi, dword [esp + 0x7c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 8], eax
mov eax, dword [0x795b00]
test eax, eax
jne 0x4c1072
mov edx, dword [esp + 0x48]
mov dword [edi], edx
mov edx, dword [esp + 0x78]
jmp 0x4c081c
mov eax, dword [esp + 0x48]
call fcn.0045a0f0
jmp 0x4c1069
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], edx
mov dword [esp + 0x38], ecx
lea eax, [0x550e80]
mov dword [esp], eax
mov dword [esp + 4], edi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00441c00
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
jmp 0x4c102c
mov eax, ebx
call fcn.0045a170
nop
call fcn.00458ba0
jmp fcn.004c07f0