Function at 0x5f5f8c
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x5f5f94
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00406dbc
xor eax, eax
push ebp
push 0x5f6b10
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, dword [0x624c18]
add edx, 0x6c5
call fcn.004050f4
push 0x5f6b28
push dword [ebp - 8]
push 0x5f6b38
push dword [ebp - 8]
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00405210
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 8]
mov edx, 0x5f6b44
call fcn.0040519c
mov eax, dword [ebp - 0x24]
call fcn.00619604
lea ecx, [ebp - 0x17c]
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.0053deb8
lea esi, [ebp - 0x17c]
lea edi, [ebx + 0x6c]
mov ecx, 0x56
rep movsd dword es:[edi], dword [esi]
lea esi, [ebx + 0x484]
mov eax, dword [ebx + 0x74]
mov dword [esi], eax
mov eax, dword [ebx + 0x78]
mov dword [esi + 8], eax
mov eax, dword [ebx + 0x7c]
mov dword [esi + 0xc], eax
push dword [ebx + 0x80]
call fcn.0047c488
fstp dword [esi + 0x28]
wait
push dword [ebx + 0x84]
call fcn.0047c488
fstp dword [esi + 0x2c]
wait
mov eax, dword [ebx + 0x88]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x8c]
mov dword [esi + 0x14], eax
mov eax, dword [ebx + 0x90]
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x94]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x98]
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x9c]
mov dword [esi + 0x24], eax
mov eax, dword [ebx + 0xa0]
mov dword [ebx + 0x1f4], eax
mov eax, dword [ebx + 0xa4]
mov dword [esi + 0x30], eax
mov eax, dword [ebx + 0xa8]
mov dword [esi + 0x34], eax
mov eax, dword [ebx + 0xac]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0xb0]
mov dword [esi + 0x3c], eax
push dword [esi + 0xc]
call fcn.0047c488
fstp dword [esi + 0xc]
wait
fld dword [esi + 0xc]
call fcn.00402c38
fstp dword [ebx + 0x1dc]
wait
fld dword [esi + 0xc]
call fcn.00402bf0
fstp dword [ebx + 0x1e0]
wait
fld dword [esi + 0x28]
call fcn.00402c38
fstp dword [ebx + 0x1e4]
wait
mov al, byte [ebx + 0xb4]
mov byte [ebx + 0x5fc], al
mov al, byte [ebx + 0xb5]
mov byte [ebx + 0x609], al
lea edx, [ebp - 0x1c4]
lea eax, [ebx + 0x6c]
call fcn.0053e22c
lea esi, [ebp - 0x1c4]
lea edi, [ebx + 0x4d0]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0x518]
cmp byte [ebx + 0x5fc], 0
je 0x5f615a
mov edx, dword [ebx + 0x120]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x124]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x128]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0x138]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 0x13c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebx + 0x140]
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x12c]
mov dword [eax], edx
mov edx, dword [ebx + 0x130]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x134]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x114]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x118]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x11c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebx + 0x144]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x148]
mov dword [eax + 0x34], edx
mov edx, dword [ebx + 0x14c]
mov dword [eax + 0x38], edx
mov edx, dword [ebx + 0x150]
mov dword [eax + 0x3c], edx
mov edx, dword [ebx + 0x154]
mov dword [eax + 0x40], edx
mov edx, dword [ebx + 0x158]
mov dword [eax + 0x44], edx
mov edx, dword [ebx + 0x15c]
mov dword [eax + 0x48], edx
mov edx, dword [ebx + 0x160]
mov dword [eax + 0x4c], edx
mov edx, dword [ebx + 0x164]
mov dword [eax + 0x50], edx
mov edx, dword [ebx + 0x168]
mov dword [eax + 0x54], edx
mov edx, dword [ebx + 0x16c]
mov dword [eax + 0x58], edx
mov edx, dword [ebx + 0x170]
mov dword [eax + 0x5c], edx
mov eax, 0x5f6b6c
call fcn.00619604
mov eax, dword [ebx + 0x484]
mov dword [ebx + 0x488], eax
fld dword [ebx + 0xb8]
fcomp dword [0x5f6b84]
fnstsw ax
sahf
jbe 0x5f63cc
mov dl, 1
mov eax, dword [0x5fefb4]
call fcn.005ff1a0
mov esi, eax
mov dword [ebx + 0x634], esi
mov eax, dword [0x624c18]
fild dword [eax + 0x6f8]
add esp, 0xfffffffc
fstp dword [esp]
wait
push dword [ebx + 0xb8]
call fcn.0042fba8
fstp dword [esi + 0xd0]
wait
fld dword [ebx + 0x488]
fadd dword [esi + 0xd0]
fstp dword [ebx + 0x488]
wait
mov eax, dword [ebx + 0xbc]
mov dword [esi + 0xd4], eax
mov eax, dword [ebx + 0x174]
test eax, eax
jle 0x5f63cc
dec eax
test eax, eax
jl 0x5f63cc
inc eax
mov dword [ebp - 0x14], eax
xor edi, edi
mov eax, dword [esi + 0xd8]
call fcn.004063b8
inc eax
push eax
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x5fef94]
call fcn.00406574
add esp, 4
test edi, edi
jne 0x5f62fc
mov eax, dword [ebx + 0x178]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x17c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x180]
mov dword [ebp - 0x18], eax
jmp 0x5f6339
cmp edi, 1
jne 0x5f631e
mov eax, dword [ebx + 0x184]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x188]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x18c]
mov dword [ebp - 0x18], eax
jmp 0x5f6339
mov eax, dword [ebx + 0x190]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x194]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x198]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
mov dl, 1
mov eax, dword [0x5fef18]
call fcn.005ff040
push eax
mov eax, dword [esi + 0xd8]
call fcn.004063b8
mov edx, dword [esi + 0xd8]
pop ecx
mov dword [edx + eax*4 - 4], ecx
fld dword [ebp - 0x1c]
fcomp dword [0x5f6b84]
fnstsw ax
sahf
je 0x5f63c2
fld dword [ebp - 0x1c]
fchs
fstp dword [ebp - 0x1c]
wait
mov eax, dword [esi + 0xd8]
call fcn.004063b8
inc eax
push eax
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x5fef94]
call fcn.00406574
add esp, 4
lea ecx, [ebp - 0x20]
mov dl, 1
mov eax, dword [0x5fef18]
call fcn.005ff040
push eax
mov eax, dword [esi + 0xd8]
call fcn.004063b8
mov edx, dword [esi + 0xd8]
pop ecx
mov dword [edx + eax*4 - 4], ecx
inc edi
dec dword [ebp - 0x14]
jne 0x5f62b5
mov eax, 0x5f6b90
call fcn.00619604
mov dl, 1
mov eax, dword [0x5e2214]
call fcn.005e2950
mov esi, eax
mov dword [ebx + 0x660], esi
push 0x3e4ccccd
push 0x3f800000
push 0x3f800000
push 0x3f800000
lea edx, [ebx + 0x518]
mov eax, esi
call fcn.005e29ec
mov eax, 0x5f6bb4
call fcn.00619604
mov eax, dword [0x6246f8]
cmp byte [eax], 1
je 0x5f6429
mov eax, dword [0x6246f8]
cmp byte [eax], 2
jne 0x5f6464
mov eax, dword [0x624c18]
cmp byte [eax + 0x68], 0
je 0x5f6464
mov eax, dword [ebx + 0xfc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x100]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x104]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x20]
mov dl, 1
mov eax, dword [0x5fb35c]
call fcn.005fb3c8
mov dword [ebx + 0x628], eax
mov eax, dword [ebx + 0xc4]
mov dword [ebx + 0x5a0], eax
mov eax, dword [ebx + 0xc8]
mov dword [ebx + 0x5a4], eax
mov eax, dword [ebx + 0xc0]
mov dword [ebx + 0x5ac], eax
mov eax, dword [ebx + 0xcc]
mov dword [ebx + 0x5a8], eax
mov eax, dword [ebx + 0xd0]
mov dword [ebx + 0x5b0], eax
mov eax, dword [ebx + 0xd4]
mov dword [ebx + 0x5b4], eax
mov eax, 0x5f6bd0
call fcn.00619604
lea ecx, [ebx + 0x56c]
mov dl, 1
mov eax, dword [0x5fc070]
call fcn.005fc8c8
mov dword [ebx + 0x630], eax
lea edx, [ebx + 0x3c0]
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [ebx + 0x3d8]
call fcn.00612288
mov eax, dword [0x624838]
mov eax, dword [eax]
mov eax, dword [eax + 4]
lea edx, [ebx + 0x3c0]
call fcn.006120ac
fsub dword [ebx + 0x520]
fstp dword [ebx + 0x5cc]
wait
fld qword [ebx + 0x3e8]
fcomp dword [ebx + 0x5cc]
fnstsw ax
sahf
jae 0x5f6543
fld dword [ebx + 0x5cc]
fstp qword [ebx + 0x3e8]
wait
fld qword [ebx + 0x3e8]
fstp dword [ebx + 0x3c8]
wait
fld qword [ebx + 0x3e8]
fstp dword [ebx + 0x3bc]
wait
mov eax, 0x5f6bf0
call fcn.00619604
mov dl, 1
mov eax, dword [0x547c98]
call fcn.00404078
mov esi, eax
mov dword [ebx + 0x60c], esi
lea eax, [ebp - 0x1c8]
mov ecx, 0x5f6c14
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov edx, dword [ebp - 0x1c8]
mov eax, esi
call fcn.00547d14
mov dword [ebx + 0x1c4], eax
lea eax, [ebp - 0x1cc]
mov ecx, 0x5f6c24
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov eax, dword [ebp - 0x1cc]
call fcn.00409da8
test al, al
je 0x5f65df
mov dl, 1
mov eax, dword [0x547c98]
call fcn.00404078
mov esi, eax
mov dword [ebx + 0x610], esi
lea eax, [ebp - 0x1d0]
mov ecx, 0x5f6c24
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov edx, dword [ebp - 0x1d0]
mov eax, esi
call fcn.00547d14
jmp 0x5f65eb
mov eax, dword [ebx + 0x60c]
mov dword [ebx + 0x610], eax
cmp dword [ebx + 0x1c4], 1
jle 0x5f660c
mov eax, dword [ebx + 0x19c]
mov dword [ebx + 0x1c8], eax
mov eax, dword [ebx + 0x1a0]
mov dword [ebx + 0x1cc], eax
mov eax, dword [ebx + 0x1a4]
mov dword [ebx + 0x1d8], eax
mov dl, 1
mov eax, dword [0x547c98]
call fcn.00404078
mov esi, eax
mov dword [ebx + 0x614], esi
lea eax, [ebp - 0x1d4]
mov ecx, 0x5f6c34
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov edx, dword [ebp - 0x1d4]
mov eax, esi
call fcn.00547d14
mov eax, 0x5f6c44
call fcn.00619604
mov dl, 1
mov eax, dword [0x547c98]
call fcn.00404078
mov esi, eax
mov dword [ebx + 0x618], esi
lea eax, [ebp - 0x1d8]
mov ecx, 0x5f6c68
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov edx, dword [ebp - 0x1d8]
mov eax, esi
call fcn.00547d14
lea eax, [ebx + 0x1f0]
push eax
push 0
lea ecx, [ebx + 0x1ec]
lea edx, [ebx + 0x1e8]
mov eax, dword [ebx + 0x60c]
call fcn.005482e8
mov eax, dword [ebx + 0x4bc]
mov dword [ebx + 0x4c8], eax
mov eax, 0x5f6c78
call fcn.00619604
lea eax, [ebp - 0x1dc]
mov ecx, 0x5f6c9c
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov eax, dword [ebp - 0x1dc]
lea ecx, [ebx + 0x644]
mov edx, dword [0x624594]
mov dl, byte [edx + 0x2a]
call fcn.0053d43c
mov eax, 0x5f6ca8
call fcn.00619604
lea eax, [ebp - 0x1e0]
mov ecx, 0x5f6ccc
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebx + 0x640]
mov edx, dword [0x624594]
mov dl, byte [edx + 0x2a]
call fcn.0053d43c
mov eax, 0x5f6cd8
call fcn.00619604
lea eax, [ebp - 0x1e4]
mov ecx, 0x5f6cfc
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov eax, dword [ebp - 0x1e4]
lea ecx, [ebx + 0x648]
xor edx, edx
call fcn.0053d43c
mov ecx, 0x5f6d00
mov eax, dword [ebx + 0x640]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00481a30
mov esi, eax
mov dword [ebx + 0x64c], esi
test esi, esi
je 0x5f677f
mov eax, dword [esi + 0xc]
mov byte [eax + 0xa0], 0
mov ecx, 0x5f6d0c
mov eax, dword [ebx + 0x640]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00481a30
test eax, eax
je 0x5f67aa
mov edx, dword [0x624c18]
mov dl, byte [edx + 0x2c]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa0], dl
mov ecx, 0x5f6d14
mov eax, dword [ebx + 0x640]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00481a30
test eax, eax
je 0x5f67d5
mov edx, dword [0x624c18]
mov dl, byte [edx + 0x2c]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa0], dl
mov ecx, 0x5f6d0c
mov eax, dword [ebx + 0x644]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00481a30
test eax, eax
je 0x5f6800
mov edx, dword [0x624c18]
mov dl, byte [edx + 0x2c]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa0], dl
mov ecx, 0x5f6d14
mov eax, dword [ebx + 0x644]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00481a30
test eax, eax
je 0x5f682b
mov edx, dword [0x624c18]
mov dl, byte [edx + 0x2c]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xa0], dl
mov eax, 0x5f6d2c
call fcn.00619604
lea eax, [ebp - 0x1ec]
mov ecx, 0x5f6d48
mov edx, dword [ebp - 0xc]
call fcn.0040519c
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x1e8]
call fcn.00474358
mov edx, dword [ebp - 0x1e8]
lea eax, [ebx + 4]
call fcn.00406d64
mov eax, dword [0x624c18]
add eax, 0x6d6
mov edx, 0x5f6d50
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403188
je 0x5f68d0
push 0x5f6b28
push dword [ebp - 8]
push 0x5f6d60
lea eax, [ebp - 0x1f0]
mov edx, dword [0x624c18]
add edx, 0x6d6
call fcn.004050f4
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405210
lea eax, [ebx + 8]
push eax
lea eax, [ebp - 0x1f4]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.00474048
mov eax, 0x5f6d70
call fcn.00619604
mov dl, 1
mov eax, dword [0x5db5c8]
call fcn.005db61c
mov esi, eax
mov dword [ebx + 0x638], esi
mov eax, dword [ebx + 0xd8]
mov dword [esi + 0x1f8], eax
mov eax, dword [ebx + 0xdc]
mov dword [esi + 0x1fc], eax
mov eax, dword [ebx + 0xe0]
mov dword [esi + 4], eax
mov eax, 0x5f6d90
call fcn.00619604
mov dl, 1
mov eax, dword [0x5fe718]
call fcn.005fec04
mov dword [ebx + 0x63c], eax
mov eax, 0x5f6db0
call fcn.00619604
mov dl, 1
mov eax, dword [0x5ffa90]
call fcn.00404078
mov esi, eax
mov dword [ebx + 0x62c], esi
lea eax, [ebp - 0x1f8]
mov edx, dword [0x624c18]
add edx, 0xc3
call fcn.004050f4
mov eax, dword [ebp - 0x1f8]
push eax
lea eax, [ebp - 0x1fc]
mov edx, dword [0x624c18]
add edx, 0xaa
call fcn.004050f4
mov eax, dword [ebp - 0x1fc]
push eax
mov eax, dword [0x624c18]
mov eax, dword [eax + 0xc8]
push eax
lea eax, [ebp - 0x200]
mov edx, dword [0x624c18]
add edx, 0xbb
call fcn.004050f4
mov ecx, dword [ebp - 0x200]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.005ffb04
mov eax, 0x5f6dcc
call fcn.00619604
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x5eafb4]
call fcn.005eb810
mov dword [ebx + 0x650], eax
mov eax, 0x5f6dec
call fcn.00619604
mov dl, 1
mov eax, dword [0x5e73a0]
call fcn.005e764c
mov esi, eax
mov dword [ebx + 0x654], esi
mov eax, dword [ebx + 0x1a8]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x1ac]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x1b0]
mov dword [esi + 0x40], eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.005e7714
mov eax, 0x5f6e0c
call fcn.00619604
mov eax, ebx
call fcn.005f74d4
mov dword [ebx + 0x230], 1
mov byte [ebx + 0x228], 1
xor eax, eax
mov dword [ebx + 0x224], eax
xor eax, eax
mov dword [ebx + 0x22c], eax
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
call fcn.00473288
mov eax, dword [ebp - 0x20c]
mov dword [ebx + 0x478], eax
mov eax, dword [ebp - 0x208]
mov dword [ebx + 0x47c], eax
mov eax, dword [ebp - 0x204]
mov dword [ebx + 0x480], eax
push 0
push 0
push 0
lea eax, [ebp - 0x20c]
call fcn.00473288
mov eax, dword [ebp - 0x20c]
mov dword [ebx + 0x414], eax
mov eax, dword [ebp - 0x208]
mov dword [ebx + 0x418], eax
mov eax, dword [ebp - 0x204]
mov dword [ebx + 0x41c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f6b17
lea eax, [ebp - 0x200]
mov edx, 6
call fcn.00404ebc
lea eax, [ebp - 0x1e8]
call fcn.00406d4c
lea eax, [ebp - 0x1e4]
mov edx, 8
call fcn.00404ebc
lea eax, [ebp - 0x24]
call fcn.00404e98
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ebc
lea eax, [ebp - 4]
call fcn.00406d4c
ret