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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x555304
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push esi
push edi
lea eax, [esp + 0xf]
mov edi, ecx
push eax
push 0x570600
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edi
mov byte [edi + 0x34], 0
call fcn.00405170
xor esi, esi
mov dword [esp + 0xcc], esi
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x40]
push edx
call fcn.0043c160
mov byte [esp + 0xcc], 2
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4c3a15
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x3c]
call fcn.004391b0
test al, al
jne 0x4c3a4f
mov dword [esp + 0xcc], 0xffffffff
lea ecx, [esp + 0x3c]
call fcn.00404040
xor al, al
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x5bf748
call fcn.004c8440
mov ecx, dword [edi]
cmp ecx, dword [edi + 4]
je 0x4c3a6c
mov ecx, edi
call fcn.004c3830
mov ecx, 0x5bf748
call fcn.004c81c0
push eax
mov ecx, edi
call fcn.004c3940
lea edx, [esp + 0xf]
push edx
push 0x570310
lea ecx, [esp + 0x1c]
call fcn.00405170
mov byte [esp + 0xcc], 5
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x44]
call fcn.0043b7d0
mov byte [esp + 0xcc], 7
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4c3ac5
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], esi
call fcn.00439360
test eax, eax
jle 0x4c3fe3
jmp 0x4c3ae0
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
call fcn.0043bdb0
mov byte [esp + 0xcc], 9
lea ecx, [esp + 0xf]
push ecx
push 0x5695c8
lea ecx, [esp + 0x9c]
call fcn.00405170
mov byte [esp + 0xcc], 0xa
push 0
lea edx, [esp + 0x98]
push edx
lea ecx, [esp + 0x34]
call fcn.0043b7a0
mov dword [esp + 0x20], eax
mov byte [esp + 0xcc], 9
mov eax, dword [esp + 0x94]
test eax, eax
je 0x4c3b4c
push eax
call fcn.004ed9bb
add esp, 4
lea eax, [esp + 0xf]
push eax
push 0x5695cc
lea ecx, [esp + 0x84]
call fcn.00405170
mov byte [esp + 0xcc], 0xc
push 0
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043b7a0
mov ebx, eax
mov dword [esp + 0x24], ebx
mov byte [esp + 0xcc], 9
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4c3b9c
push eax
call fcn.004ed9bb
add esp, 4
lea edx, [esp + 0xf]
push edx
push 0x56fbac
lea ecx, [esp + 0x5c]
call fcn.00405170
mov byte [esp + 0xcc], 0xe
push 0
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x34]
call fcn.0043b7b0
mov byte [esp + 0xf], al
mov byte [esp + 0xcc], 9
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4c3be4
push eax
call fcn.004ed9bb
add esp, 4
fild dword [esp + 0x24]
sub esp, 8
mov ecx, 0x5bf748
fstp dword [esp + 4]
fild dword [esp + 0x28]
fstp dword [esp]
call fcn.004c81f0
lea ecx, [esp + 0xf]
push ecx
mov esi, eax
push 0x56a06a
lea ecx, [esp + 0x78]
mov dword [esp + 0x2c], esi
call fcn.00405170
mov byte [esp + 0xcc], 0x10
lea edx, [esp + 0xf]
push edx
push 0x56ad80
lea ecx, [esp + 0x68]
call fcn.00405170
mov byte [esp + 0xcc], 0x11
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x78], esp
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x44]
call fcn.0043b740
mov byte [esp + 0xd8], 0x11
mov ecx, edi
call fcn.004c1cf0
mov edi, eax
mov byte [esp + 0xcc], 0x10
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c3c83
push eax
call fcn.004ed9bb
add esp, 4
mov byte [esp + 0xcc], 9
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4c3c9c
push eax
call fcn.004ed9bb
add esp, 4
cmp esi, 0xffffffff
je 0x4c3f78
dec edi
je 0x4c3cb4
dec edi
jne 0x4c3ce3
mov ecx, dword [esp + 0x10]
add ecx, 0x28
jmp 0x4c3cbb
mov ecx, dword [esp + 0x10]
add ecx, 0x1c
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x4c3ccf
test eax, eax
je 0x4c3cc9
mov dword [eax], esi
add dword [ecx + 4], 4
jmp 0x4c3ce3
push 1
push 1
lea edx, [esp + 0x17]
push edx
lea edx, [esp + 0x30]
push edx
push eax
call fcn.004404f0
mov edi, dword [esp + 0x10]
mov eax, dword [edi]
mov cl, byte [esp + 0xf]
lea ebx, [esi + esi*4]
lea edx, [esp + 0xf]
shl ebx, 2
push edx
mov byte [ebx + eax], cl
push 0x5705f8
lea ecx, [esp + 0x90]
call fcn.00405170
mov byte [esp + 0xcc], 0x15
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x34]
call fcn.0043b7d0
mov byte [esp + 0xcc], 0x17
mov eax, dword [esp + 0x88]
xor esi, esi
cmp eax, esi
je 0x4c3d48
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0x34]
call fcn.00439360
cmp eax, 2
jle 0x4c3d5a
mov byte [edi + 0x34], 1
lea ecx, [esp + 0x34]
xor edi, edi
call fcn.00439360
test eax, eax
jle 0x4c3f40
lea ecx, [ecx]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
mov byte [esp + 0xcc], 0x19
lea edx, [esp + 0xf]
push edx
push 0x5705f0
lea ecx, [esp + 0xa8]
call fcn.00405170
mov byte [esp + 0xcc], 0x1a
push edi
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x3c]
call fcn.0043bdb0
mov byte [esp + 0xcc], 0x1b
push esi
lea ecx, [esp + 0xa4]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x18], eax
mov byte [esp + 0xcc], 0x1a
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x4c3e09
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c3e09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c3e09
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0xcc], 0x19
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x4c3e25
push eax
call fcn.004ed9bb
add esp, 4
lea ecx, [esp + 0xf]
push ecx
push 0x5705e8
lea ecx, [esp + 0xbc]
call fcn.00405170
mov byte [esp + 0xcc], 0x1f
push edi
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x3c]
call fcn.0043bdb0
mov byte [esp + 0xcc], 0x20
push 0
lea ecx, [esp + 0xb8]
push ecx
mov ecx, eax
call fcn.0043b7a0
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fstp dword [esp + 0x1c]
mov byte [esp + 0xcc], 0x1f
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x4c3eb5
mov esi, eax
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4c3eb5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c3eb5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov byte [esp + 0xcc], 0x19
mov eax, dword [esp + 0xb4]
xor esi, esi
cmp eax, esi
je 0x4c3ed3
push eax
call fcn.004ed9bb
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov edx, dword [ebx + eax + 0x10]
lea ecx, [ebx + eax + 8]
mov eax, dword [ecx + 4]
cmp eax, edx
je 0x4c3f06
cmp eax, esi
je 0x4c3f00
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 8], edx
add dword [ecx + 4], 0xc
jmp 0x4c3f1a
push 1
push 1
lea edx, [esp + 0x17]
push edx
lea edx, [esp + 0x20]
push edx
push eax
call fcn.004c28f0
mov byte [esp + 0xcc], 0x17
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 0
inc edi
call fcn.00439360
cmp edi, eax
jl 0x4c3d70
mov byte [esp + 0xcc], 9
mov esi, dword [esp + 0x38]
test esi, esi
je 0x4c3f93
lea eax, [esi + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c3f93
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea eax, [esi + 8]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x4c3f93
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 8]
jmp 0x4c3f93
mov eax, dword [esp + 0x20]
push ebx
push eax
push 0x5705c0
push 3
call fcn.00448330
push eax
call fcn.00447f40
add esp, 0x14
mov byte [esp + 0xcc], 7
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4c3fc9
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c3fc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c3fc9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov esi, dword [esp + 0x28]
inc esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x28], esi
call fcn.00439360
cmp esi, eax
jl 0x4c3adc
mov byte [esp + 0xcc], 2
mov esi, dword [esp + 0x48]
test esi, esi
je 0x4c4019
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c4019
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c4019
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0xcc], 0xffffffff
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4c4052
lea ecx, [esi + 4]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c4052
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x4c4052
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4