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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5f02f0
push eax
mov dword fs:[0], esp
sub esp, 0xf94
push ebx
push ebp
mov ebp, dword [esp + 0xfac]
push esi
mov esi, ecx
push edi
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x108]
mov ebx, eax
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x4cb9ad
push eax
push eax
push 0xa214
lea ecx, [esp + 0xa0]
call fcn.00574b50
mov edx, dword [esp + 0xd4]
lea ecx, [esp + 0x254]
or dl, 0x80
mov dword [esp + 0xfac], 0
mov dword [esp + 0xd4], edx
call fcn.00576490
mov ecx, dword [esi + 0xe0]
mov byte [esp + 0xfac], 1
mov eax, 0x64
mov edi, dword [ecx + 0x1b0]
test edi, edi
je 0x4cad71
mov ax, word [edi + 4]
and eax, 0xffff
mov dword [esp + 0x2e0], eax
add eax, 0xffffff9b
cmp eax, 4
ja case.default.0x4cad80
jmp dword [eax*4 + 0x4cb9c8]
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2e4], eax
jmp 0x4cad9f
mov ax, word [edi + 0x10]
mov word [esp + 0x2ee], ax
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x24]
mov dword [esp + 0x2e8], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x28]
mov word [esp + 0x2ec], ax
jmp case.default.0x4cad80
mov ax, word [edi + 0x10]
mov ecx, edi
mov word [esp + 0x2ee], ax
mov edx, dword [edi]
call dword [edx + 0x24]
mov dword [esp + 0x2e8], eax
jmp case.default.0x4cad80
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x24]
mov dword [esp + 0x2e8], eax
jmp case.default.0x4cad80
mov di, word [edi + 0x10]
mov word [esp + 0x2f0], di
lea ecx, [esp + 0x45c]
call fcn.004e4e10
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004e8780
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004e7150
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004e9600
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.00573e70
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 6
push ecx
lea ecx, [esp + 0x98]
call fcn.005d94e8
lea edx, [esp + 0x45c]
lea ecx, [esp + 0x94]
push edx
call fcn.005d94e8
lea eax, [esp + 0x90c]
lea ecx, [esp + 0x94]
push eax
call fcn.005d94e8
lea ecx, [esp + 0x710]
push ecx
lea ecx, [esp + 0x98]
call fcn.005d94e8
lea edx, [esp + 0xc40]
lea ecx, [esp + 0x94]
push edx
call fcn.005d94e8
lea eax, [esp + 0x120]
lea ecx, [esp + 0x94]
push eax
call fcn.005d94e8
mov edi, dword [ebp + 0x19c]
mov ebp, dword [edi + 0x90]
test ebp, ebp
je 0x4caf1d
push 0x34
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0xfac], 7
je 0x4caf0c
mov ebp, dword [ebp + 0x88]
mov ecx, eax
push ebp
call fcn.00554700
jmp 0x4caf0e
xor eax, eax
mov byte [esp + 0xfac], 6
mov dword [esp + 0x4f8], eax
mov edi, dword [edi + 0x94]
mov edx, dword [esi]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x504], edi
mov dword [esp + 0x38], 0
call dword [edx + 0x14c]
push eax
lea ecx, [esp + 0x6f0]
mov byte [esp + 0xfb0], 8
call fcn.005c50cd
lea ecx, [esp + 0x10]
mov byte [esp + 0xfac], 6
call fcn.005c4f94
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1d4]
mov dword [esp + 0x6fc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x16c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x708], eax
call dword [edx + 0x188]
mov dword [esp + 0x6f0], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x17c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x6f4], eax
call dword [edx + 0x148]
mov dword [esp + 0x6f8], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x134]
mov edx, dword [esi]
xor ecx, ecx
cmp eax, 0x2bc
sete cl
mov dword [esp + 0x700], ecx
mov ecx, esi
call dword [edx + 0x164]
mov dword [esp + 0x704], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x190]
mov ebp, dword [esi + 0xe0]
mov dword [esp + 0x70c], eax
mov eax, dword [esi + 0xd4]
xor ecx, ecx
cmp eax, 1
mov dword [esp + 0x998], ebx
sete cl
mov dword [esp + 0x79c], ebx
mov dword [esp + 0x99c], ecx
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x2c], ebp
call dword [edx + 0x1e8]
test eax, eax
je 0x4cb056
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1e8]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x80]
mov dword [esp + 0x7ac], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x200]
mov dword [esp + 0x7b0], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1e0]
mov dword [esp + 0x7a0], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x1f0]
mov dword [esp + 0x7a8], eax
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1f8]
mov dword [esp + 0x7a4], eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push eax
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebx
call fcn.004d94d0
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9d0], edx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
mov dword [esp + 0xa00], eax
call fcn.004d9750
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x9f4], ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x9cc], eax
call fcn.005c3fbe
lea edx, [esp + 0x1c]
mov ecx, esi
push edx
mov byte [esp + 0xfb0], 9
call fcn.004d4910
mov ecx, eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
push ecx
push eax
mov ecx, esi
call fcn.004c3610
mov edi, eax
cmp edi, ebx
je 0x4cb131
lea edx, [esp + 0x48]
push edx
push edi
jmp 0x4cb137
lea eax, [esp + 0x48]
push eax
push ebp
mov ecx, esi
call fcn.004d7f30
cmp dword [esp + 0x50], ebx
je 0x4cb170
mov ecx, dword [esp + 0x4c]
push 1
mov ebx, dword [ecx]
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x208]
mov dword [esp + 0x9c8], eax
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x210]
mov dword [esp + 0x9f0], eax
lea ecx, [esp + 0x34]
call fcn.005c3fbe
test edi, edi
mov byte [esp + 0xfac], 0xa
je 0x4cb18d
lea ecx, [esp + 0x34]
push ecx
push edi
jmp 0x4cb193
lea edx, [esp + 0x34]
push edx
push ebp
mov ecx, esi
call fcn.004d7f70
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4cb1ce
mov eax, dword [esp + 0x38]
push 0
mov edi, dword [eax]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x208]
mov dword [esp + 0x9d4], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x210]
mov dword [esp + 0x9fc], eax
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1a0]
mov dword [esp + 0xccc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x198]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0xcd0], eax
call dword [edx + 0x1a8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0xfa0], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x1bc]
mov edx, dword [eax]
mov dword [esp + 0xcd4], edx
mov ecx, dword [eax + 4]
mov dword [esp + 0xcd8], ecx
mov ecx, ebp
mov edx, dword [eax + 8]
mov dword [esp + 0xcdc], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0xce0], eax
mov edx, dword [ebp]
call dword [edx + 0x220]
mov dword [esp + 0x23c], eax
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 0x228]
mov dword [esp + 0x238], eax
mov ecx, dword [ebp + 0x1ec]
mov eax, dword [esi + 0xd4]
mov dword [esp + 0x248], ecx
mov ecx, 5
cmp eax, 1
mov dword [esp + 0x1b8], ecx
jne 0x4cb30a
lea edx, [esp + 0x10]
mov dword [esp + 0x1b0], ecx
push edx
mov ecx, ebp
call fcn.004cba00
mov eax, dword [esp + 0x10]
mov bl, 0xb
mov byte [esp + 0xfac], bl
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4cb2b8
push 0xa218
lea ecx, [esp + 0x14]
call fcn.005cba8c
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebp
call fcn.00534140
push eax
lea ecx, [esp + 0x254]
mov byte [esp + 0xfb0], 0xc
call fcn.005c50cd
lea ecx, [esp + 0x1c]
mov byte [esp + 0xfac], bl
call fcn.005c4f94
xor edx, edx
lea ecx, [esp + 0x10]
mov dx, word [ebp + 0xa8]
mov byte [esp + 0xfac], 0xa
mov dword [esp + 0x1bc], edx
call fcn.005c4f94
lea ecx, [esp + 0x94]
call fcn.005d92e0
cmp eax, 1
jne 0x4cb8fc
mov edi, dword [esp + 0xfb4]
mov ecx, edi
call fcn.005ca1e5
push 0xa
lea ecx, [esp + 0x7c]
mov dword [0x1a6b5e8], 1
call fcn.005c3dad
mov ebx, 0x19add28
mov dword [esp + 0x78], ebx
push 0xa
lea ecx, [esp + 0x60]
mov byte [esp + 0xfb0], 0xd
call fcn.005c3dad
mov dword [esp + 0x5c], ebx
mov eax, dword [esi + 0xd4]
xor ebp, ebp
test eax, eax
mov byte [esp + 0xfac], 0xe
mov dword [esp + 0x1c], eax
jle 0x4cb3b8
push ebp
mov ecx, esi
call fcn.004d5b70
mov edi, eax
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x80]
mov ebx, eax
test ebx, ebx
je 0x4cb3b1
push edi
lea ecx, [esp + 0x60]
call fcn.005c3e3f
push ebx
lea ecx, [esp + 0x7c]
call fcn.005c3e3f
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x4cb37a
mov edi, dword [esp + 0xfb4]
lea ecx, [esp + 0x78]
push 0
lea edx, [esp + 0x60]
push ecx
push edx
push 2
lea ecx, [edi + 0xb8]
call fcn.00521de0
mov ebx, dword [esp + 0x11c]
lea eax, [esp + 0x45c]
cmp ebx, eax
jne 0x4cb4b8
push ecx
lea edx, [esp + 0x6f0]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.005c4d09
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x150]
mov eax, dword [esp + 0x6fc]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1d0]
mov eax, dword [esp + 0x708]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x170]
mov eax, dword [esp + 0x6f4]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x180]
mov eax, dword [esp + 0x6f0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x184]
mov eax, dword [esp + 0x700]
test eax, eax
je 0x4cb46f
mov edx, dword [esi]
push 0x2bc
push edi
mov ecx, esi
call dword [edx + 0x138]
jmp 0x4cb47f
mov eax, dword [esi]
push 0x190
push edi
mov ecx, esi
call dword [eax + 0x138]
mov eax, dword [esp + 0x70c]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x18c]
mov eax, dword [esp + 0x704]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x168]
mov eax, dword [esp + 0x6f8]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x144]
lea ecx, [esp + 0xc40]
cmp ebx, ecx
jne 0x4cb533
mov eax, dword [esp + 0xccc]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1a4]
mov eax, dword [esp + 0xcd0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x19c]
mov eax, dword [esp + 0xfa0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1ac]
mov ecx, dword [esp + 0xcd4]
sub esp, 0x10
mov eax, esp
mov edx, dword [esi]
push edi
mov dword [eax], ecx
mov ecx, dword [esp + 0xcec]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xcf0]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xcf4]
mov dword [eax + 0xc], ecx
mov ecx, esi
call dword [edx + 0x1b8]
lea edx, [esp + 0x710]
cmp ebx, edx
jne 0x4cb5b3
mov ecx, dword [esp + 0x7a0]
mov eax, dword [esi]
push ecx
push edi
mov ecx, esi
call dword [eax + 0x1d8]
mov eax, dword [esp + 0x7ac]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1e4]
mov eax, dword [esp + 0x7ac]
test eax, eax
je 0x4cb57a
mov dword [esp + 0x7b0], 0
mov eax, dword [esp + 0x7b0]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1fc]
mov eax, dword [esp + 0x7a8]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1ec]
mov eax, dword [esp + 0x7a4]
mov edx, dword [esi]
push eax
push edi
mov ecx, esi
call dword [edx + 0x1f4]
lea ecx, [esp + 0x90c]
cmp ebx, ecx
jne 0x4cb643
mov edx, dword [esp + 0x9f0]
mov eax, dword [esp + 0x9c8]
push edx
push eax
push edi
mov ecx, esi
call fcn.004d92f0
mov ecx, dword [esp + 0x9f8]
mov edx, dword [esp + 0x9d0]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004d9420
mov eax, dword [esp + 0x9fc]
mov ecx, dword [esp + 0x9d4]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004d9570
mov edx, dword [esp + 0x9f4]
mov eax, dword [esp + 0x9cc]
push edx
push eax
push edi
mov ecx, esi
call fcn.004d96a0
cmp dword [esi + 0xd4], 1
jl 0x4cb643
mov ecx, dword [esp + 0xa1c]
mov edx, dword [esp + 0xa18]
push ecx
push edx
push edi
mov ecx, esi
call fcn.004d97f0
lea eax, [esp + 0x254]
cmp ebx, eax
jne 0x4cb7d5
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4cb7d5
mov ecx, dword [esp + 0x2e0]
xor eax, eax
add ecx, 0xffffff9b
cmp ecx, 5
ja case.default.0x4cb677
jmp dword [ecx*4 + 0x4cb9dc]
push 0x1c
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0xf
je 0x4cb7b2
mov edx, dword [esp + 0x2ec]
mov ecx, dword [esp + 0x2e8]
push edx
mov edx, dword [esp + 0x2e8]
push ecx
push edx
mov ecx, eax
call fcn.00577c30
jmp 0x4cb7b4
push 0x1c
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x10
je 0x4cb7b2
mov ecx, dword [esp + 0x2ec]
mov edx, dword [esp + 0x2e8]
push ecx
mov ecx, dword [esp + 0x2f2]
push edx
push ecx
mov ecx, eax
call fcn.00578210
jmp 0x4cb7b4
push 0x18
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x11
je 0x4cb7b2
mov edx, dword [esp + 0x2e8]
mov ecx, dword [esp + 0x2ee]
push edx
push ecx
mov ecx, eax
call fcn.00578d70
jmp 0x4cb7b4
push 0x14
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x12
je 0x4cb7b2
mov edx, dword [esp + 0x2e8]
mov ecx, eax
push edx
call fcn.00578870
jmp 0x4cb7b4
push 0x14
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x13
je 0x4cb7b2
mov ecx, dword [esp + 0x2f0]
push ecx
mov ecx, eax
call fcn.00579350
jmp 0x4cb7b4
push 0x10
call fcn.005c4cd5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0xfac], 0x14
je 0x4cb7b2
mov ecx, eax
call fcn.005799f0
jmp 0x4cb7b4
xor eax, eax
mov byte [esp + 0xfac], 0xe
mov edx, dword [esi + 0xd0]
push eax
push edi
mov ecx, dword [edx + ebp*4]
call fcn.0054e660
inc ebp
cmp ebp, ebx
jl 0x4cb662
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x120]
cmp ecx, eax
jne 0x4cb8d0
mov ebx, dword [esi + 0xd4]
xor ebp, ebp
test ebx, ebx
jle 0x4cb837
push ebp
mov ecx, esi
call fcn.004d5b70
mov edi, eax
mov eax, dword [esp + 0x23c]
push eax
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0x21c]
mov eax, dword [esp + 0x238]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x224]
mov ecx, dword [esp + 0x248]
inc ebp
cmp ebp, ebx
mov dword [edi + 0x1ec], ecx
jl 0x4cb7f7
cmp ebx, 1
jne 0x4cb8d0
mov edx, dword [0x1a0de58]
mov dword [esp + 0x10], edx
push 0xa218
lea ecx, [esp + 0x14]
mov byte [esp + 0xfb0], 0x15
call fcn.005cba8c
push ecx
lea eax, [esp + 0x254]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
call fcn.005c4d09
mov ecx, dword [esp + 0x30]
call fcn.004be380
mov eax, dword [esi + 0xe0]
mov cx, word [esp + 0x1bc]
push 0
mov word [eax + 0xa8], cx
mov edx, dword [esi + 0xe0]
mov eax, dword [esp + 0x24c]
mov dword [edx + 0x1ec], eax
mov esi, dword [esi + 0xe0]
mov eax, dword [esp + 0xfb8]
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x9c]
lea ecx, [esp + 0x10]
mov byte [esp + 0xfac], 0xe
call fcn.005c4f94
lea ecx, [esp + 0x5c]
mov dword [0x1a6b5e8], 0
mov byte [esp + 0xfac], 0xd
call fcn.005c3dec
lea ecx, [esp + 0x78]
mov byte [esp + 0xfac], 0xa
call fcn.005c3dec
lea ecx, [esp + 0x34]
mov byte [esp + 0xfac], 9
call fcn.005c3ff1
lea ecx, [esp + 0x48]
mov byte [esp + 0xfac], 6
call fcn.005c3ff1
lea ecx, [esp + 0x120]
mov byte [esp + 0xfac], 5
call fcn.00573fb0
lea ecx, [esp + 0x710]
mov byte [esp + 0xfac], 4
call fcn.004e9840
lea ecx, [esp + 0x90c]
mov byte [esp + 0xfac], 3
call fcn.004e7430
lea ecx, [esp + 0xc40]
mov byte [esp + 0xfac], 2
call fcn.004e88c0
lea ecx, [esp + 0x45c]
mov byte [esp + 0xfac], 1
call fcn.004e4f70
lea ecx, [esp + 0x254]
mov byte [esp + 0xfac], 0
call fcn.005765b0
lea ecx, [esp + 0x94]
mov dword [esp + 0xfac], 0xffffffff
call fcn.00574ba0
mov ecx, dword [esp + 0xfa4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xfa0
ret 4