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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c7606
sub esp, 0x64
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c6ecd
lea eax, [0x4f60e0]
mov dword [esp], eax
call fcn.0040aa30
mov edi, dword [esp + 4]
mov eax, dword [0x638500]
test eax, eax
jne 0x4c6ccc
mov eax, dword [esp + 0x68]
mov dword [edi], eax
jmp 0x4c6cd5
mov eax, dword [esp + 0x68]
call fcn.0045d410
mov dword [esp + 0x58], edi
mov ecx, dword [esp + 0x7c]
test ecx, ecx
jne 0x4c6d19
mov ebx, dword [esp + 0x74]
test ebx, ebx
jne 0x4c6cef
xor edx, edx
xor ebp, ebp
jmp 0x4c6d40
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov edx, ecx
mov ebp, eax
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
jmp 0x4c6d40
mov eax, dword [ecx + 0x14]
mov edx, dword [esp + 0x80]
mov dword [esp], edx
call eax
mov ebp, dword [esp + 4]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x58]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], edx
mov esi, dword [eax + 0x140]
mov ecx, dword [eax + 0x144]
cmp ecx, 4
jne 0x4c6d63
cmp dword [esi], 0x78696e75
je 0x4c6db7
jmp 0x4c6ddc
cmp ecx, 8
jne 0x4c6d7b
cmp dword [esi], 0x78696e75
jne 0x4c6ddc
cmp dword [esi + 4], 0x6d617267
je 0x4c6db7
jmp 0x4c6ddc
cmp ecx, 0xa
jne 0x4c6ddc
mov dword [esp], esi
lea eax, [0x50b79c]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xa
call fcn.00402670
movzx eax, byte [esp + 0xc]
test al, al
je 0x4c6dc8
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
jmp 0x4c6e7a
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x144]
movzx ebx, byte [esi + ecx - 1]
cmp bl, 0x34
je 0x4c6e7a
cmp bl, 0x36
je 0x4c6e7a
cmp dword [eax + 0x134], 2
jne 0x4c6e40
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x53db8c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004499d0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
jmp 0x4c6e7a
mov dword [esp], 0
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
lea eax, [0x53db90]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
call fcn.004499d0
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x30]
mov ebp, dword [esp + 0x50]
mov edi, dword [esp + 0x58]
mov eax, dword [esp + 0x84]
mov ebx, dword [eax]
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
lea ecx, [0x53ee54]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov edx, dword [esp + 0x84]
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
test eax, eax
jne 0x4c75f4
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4c6edb
xor ebp, ebp
xor esi, esi
jmp 0x4c6f54
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x78]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test ecx, ecx
jne 0x4c75e2
test ebp, ebp
je 0x4c6f54
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.0046c970
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test eax, eax
jne 0x4c7577
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4c701a
mov dword [esp + 0x3c], esi
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x134]
mov ebx, dword [esp + 0x80]
mov dword [esp], ebx
mov dword [esp + 4], edx
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test edx, edx
jne 0x4c7008
mov edx, dword [esp + 0x68]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call fcn.004ba410
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test eax, eax
jne 0x4c6ff6
mov eax, dword [esp + 0x68]
mov byte [eax + 0x13c], 1
jmp 0x4c7042
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
add esp, 0x64
ret
mov eax, dword [esp + 0x68]
mov dword [esp], eax
call fcn.004ba300
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4c7565
mov eax, dword [esp + 0x68]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x34], ebx
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0046ca50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x34]
test edx, edx
je 0x4c721b
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4c70a5
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c708b
lea ebp, [0x5172ac]
jmp 0x4c70e2
cmp ebp, 2
jne 0x4c7098
lea ebp, [0x5172a4]
jmp 0x4c70e2
cmp ebp, 5
jne 0x4c70dc
lea ebp, [0x5172a8]
jmp 0x4c70e2
cmp ebp, 2
je 0x4c70af
cmp ebp, 0x17
jne 0x4c70dc
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c70c2
lea ebp, [0x51729c]
jmp 0x4c70e2
cmp ebp, 2
jne 0x4c70cf
lea ebp, [0x5172a0]
jmp 0x4c70e2
cmp ebp, 3
jne 0x4c70dc
lea ebp, [0x517298]
jmp 0x4c70e2
lea ebp, [0x517240]
mov ebx, dword [ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov edx, ebp
call ebx
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x48], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4c713c
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c7122
lea ecx, [0x5172ac]
jmp 0x4c7179
cmp ecx, 2
jne 0x4c712f
lea ecx, [0x5172a4]
jmp 0x4c7179
cmp ecx, 5
jne 0x4c7173
lea ecx, [0x5172a8]
jmp 0x4c7179
cmp ecx, 2
je 0x4c7146
cmp ecx, 0x17
jne 0x4c7173
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c7159
lea ecx, [0x51729c]
jmp 0x4c7179
cmp ecx, 2
jne 0x4c7166
lea ecx, [0x5172a0]
jmp 0x4c7179
cmp ecx, 3
jne 0x4c7173
lea ecx, [0x517298]
jmp 0x4c7179
lea ecx, [0x517244]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp], ebx
mov ebx, dword [esp + 0x54]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x638500]
test ebx, ebx
jne 0x4c71ba
mov edx, dword [esp + 0x48]
mov dword [ebp + 0x14c], edx
jmp 0x4c71cd
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x48]
call fcn.0045d410
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x638500]
test ecx, ecx
jne 0x4c71e5
mov dword [ebp + 0x154], eax
jmp 0x4c71f0
lea edi, [ebp + 0x154]
call fcn.0045d410
lea eax, [0x5065c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f1000]
mov dword [esp + 8], eax
lea eax, [0x51723c]
mov dword [esp + 0xc], eax
call fcn.00413370
jmp 0x4c754b
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.0046cb30
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
test edx, edx
je 0x4c7405
mov dword [esp + 0x5c], eax
mov dword [esp + 0x38], ecx
mov ebx, dword [esp + 0x68]
mov ebp, dword [ebx + 0x134]
cmp ebp, 1
jne 0x4c728a
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c7270
lea edx, [0x5172ac]
jmp 0x4c72c7
cmp ebp, 2
jne 0x4c727d
lea edx, [0x5172a4]
jmp 0x4c72c7
cmp ebp, 5
jne 0x4c72c1
lea edx, [0x5172a8]
jmp 0x4c72c7
cmp ebp, 2
je 0x4c7294
cmp ebp, 0x17
jne 0x4c72c1
mov ebp, dword [ebx + 0x138]
cmp ebp, 1
jne 0x4c72a7
lea edx, [0x51729c]
jmp 0x4c72c7
cmp ebp, 2
jne 0x4c72b4
lea edx, [0x5172a0]
jmp 0x4c72c7
cmp ebp, 3
jne 0x4c72c1
lea edx, [0x517298]
jmp 0x4c72c7
lea edx, [0x517248]
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
call eax
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 8]
mov dword [esp + 0x60], ebp
cmp ecx, 1
jne 0x4c7326
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c730c
lea ecx, [0x5172ac]
jmp 0x4c7363
cmp ecx, 2
jne 0x4c7319
lea ecx, [0x5172a4]
jmp 0x4c7363
cmp ecx, 5
jne 0x4c735d
lea ecx, [0x5172a8]
jmp 0x4c7363
cmp ecx, 2
je 0x4c7330
cmp ecx, 0x17
jne 0x4c735d
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c7343
lea ecx, [0x51729c]
jmp 0x4c7363
cmp ecx, 2
jne 0x4c7350
lea ecx, [0x5172a0]
jmp 0x4c7363
cmp ecx, 3
jne 0x4c735d
lea ecx, [0x517298]
jmp 0x4c7363
lea ecx, [0x51724c]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x5c]
mov dword [esp], ebx
mov ebx, dword [esp + 0x38]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
mov dword [ebp + 0x148], ebx
mov ebx, dword [0x638500]
test ebx, ebx
jne 0x4c73a4
mov edx, dword [esp + 0x44]
mov dword [ebp + 0x14c], edx
jmp 0x4c73b7
lea edi, [ebp + 0x14c]
mov edx, eax
mov eax, dword [esp + 0x44]
call fcn.0045d410
mov eax, edx
mov dword [ebp + 0x150], ecx
mov ecx, dword [0x638500]
test ecx, ecx
jne 0x4c73cf
mov dword [ebp + 0x154], eax
jmp 0x4c73da
lea edi, [ebp + 0x154]
call fcn.0045d410
lea eax, [0x5065c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [0x4f1000]
mov dword [esp + 8], eax
lea eax, [0x51723c]
mov dword [esp + 0xc], eax
call fcn.00413370
jmp 0x4c754b
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0x134]
cmp ecx, 1
jne 0x4c7441
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c7427
lea ecx, [0x5172ac]
jmp 0x4c747e
cmp ecx, 2
jne 0x4c7434
lea ecx, [0x5172a4]
jmp 0x4c747e
cmp ecx, 5
jne 0x4c7478
lea ecx, [0x5172a8]
jmp 0x4c747e
cmp ecx, 2
je 0x4c744b
cmp ecx, 0x17
jne 0x4c7478
mov ecx, dword [eax + 0x138]
cmp ecx, 1
jne 0x4c745e
lea ecx, [0x51729c]
jmp 0x4c747e
cmp ecx, 2
jne 0x4c746b
lea ecx, [0x5172a0]
jmp 0x4c747e
cmp ecx, 3
jne 0x4c7478
lea ecx, [0x517298]
jmp 0x4c747e
lea ecx, [0x517250]
mov eax, dword [ecx]
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 4], ebx
mov edx, ecx
call eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x60], ecx
lea ebx, [0x4f6840]
mov dword [esp], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 4], ebx
call fcn.00408510
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
mov dword [ebx + 0x148], ecx
mov ecx, dword [0x638500]
test ecx, ecx
jne 0x4c74e1
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x14c], ecx
jmp 0x4c74f4
lea edi, [ebx + 0x14c]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.0045d410
mov eax, ecx
mov dword [ebx + 0x150], eax
mov ecx, dword [0x638500]
test ecx, ecx
jne 0x4c7513
mov eax, dword [esp + 0x80]
mov dword [ebx + 0x154], eax
jmp 0x4c7525
lea edi, [ebx + 0x154]
mov eax, dword [esp + 0x80]
call fcn.0045d410
lea eax, [0x5065c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea eax, [0x4f1000]
mov dword [esp + 8], eax
lea eax, [0x51723c]
mov dword [esp + 0xc], eax
call fcn.00413370
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0x64
ret
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x60], edx
lea eax, [0x4f85e0]
mov dword [esp], eax
call fcn.0040aa30
mov eax, dword [esp + 4]
mov dword [eax + 4], 4
lea ecx, [0x50a610]
mov dword [eax], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 8], ecx
mov ecx, dword [0x638500]
test ecx, ecx
jne 0x4c75ba
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0xc], ecx
jmp 0x4c75ca
lea edi, [eax + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x4c]
call fcn.0045d410
mov eax, ecx
lea ecx, [0x53eb70]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], eax
add esp, 0x64
ret
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
add esp, 0x64
ret
call fcn.0045c000
jmp fcn.004c6c80