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

Disassembly:
sub esp, 0x48
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
inc eax
mov dword [esp + 0x30], eax
inc eax
mov dword [esp + 0x14], eax
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [esp + 0x34], eax
push ebx
inc eax
mov dword [esp + 0x48], eax
push ebp
inc eax
push edi
mov edi, dword [esp + 0x58]
mov ebx, dword [edi]
mov dword [esp + 0x44], eax
inc eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x68], eax
call fcn.005e1760
mov ebp, eax
test ebp, ebp
je 0x5f31bb
mov edi, dword [esp + 0x5c]
test edi, edi
je 0x5f31bb
cmp dword [edi + 0x20], 0
je 0x5f31bb
mov eax, dword [edi]
cmp dword [eax], 0x696c7173
jne 0x5f2cba
add eax, 4
cmp byte [eax], 0x74
jne 0x5f2cba
cmp byte [eax + 1], 0x65
jne 0x5f2cba
cmp byte [eax + 2], 0x5f
je 0x5f31bb
push esi
mov esi, dword [edi + 0x40]
mov ecx, ebx
call fcn.005d2870
mov ecx, dword [ebx + 0x10]
mov esi, eax
shl eax, 4
mov edx, dword [eax + ecx]
mov eax, dword [edi]
push edx
push 0
push eax
mov eax, dword [esp + 0x68]
push 0x1c
mov dword [esp + 0x4c], esi
call fcn.005df8c0
add esp, 0x10
test eax, eax
jne 0x5f31ba
mov eax, dword [edi]
mov ecx, dword [edi + 0x20]
push eax
mov ebx, esi
mov esi, dword [esp + 0x60]
push 0
push ecx
mov eax, esi
call fcn.005d9c80
mov ebx, dword [esi + 0x48]
mov ecx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov dword [esi + 0x48], edx
mov eax, dword [edi]
push 0
push eax
push 0x5e
xor eax, eax
xor edx, edx
mov edi, ebp
mov dword [esp + 0x2c], ebx
call fcn.005de560
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 8]
add esp, 0x18
mov dword [esp + 0x1c], edi
test edi, edi
je 0x5f30d7
jmp 0x5f2d54
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x30], 0
test eax, eax
je 0x5f2d6c
cmp eax, edi
jne 0x5f30c0
mov ebx, dword [edi + 0x24]
mov esi, dword [esp + 0x34]
lea ecx, [ebx*4]
mov dword [esp + 0x10], ebx
call fcn.005d5270
mov dword [esp + 0x20], eax
test eax, eax
je 0x5f30c0
mov ecx, dword [esp + 0x5c]
push edi
push ecx
call fcn.005ecaa0
mov esi, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
lea ecx, [esi + ebx*2 + 1]
add esp, 8
cmp ecx, dword [edx + 0x4c]
jle 0x5f2db1
mov dword [edx + 0x4c], ecx
mov ecx, dword [edi + 0x28]
mov edx, dword [esp + 0x14]
push 0xfffffffffffffff0
push eax
mov eax, dword [esp + 0x44]
push 0x27
mov edi, ebp
call fcn.005de560
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov ecx, dword [esp + 0x4c]
push 0
push eax
push 0x5e
xor eax, eax
xor edx, edx
call fcn.005de560
add esp, 0x18
xor edi, edi
test ebx, ebx
jl 0x5f2e06
lea esp, [esp]
xor ecx, ecx
lea eax, [edi + esi]
push ebp
lea edx, [ecx + 7]
call fcn.005d7fb0
inc edi
add esp, 4
cmp edi, ebx
jle 0x5f2df0
xor edi, edi
test ebx, ebx
jle 0x5f2e29
lea esp, [esp]
xor ecx, ecx
lea eax, [ebx + esi + 1]
add eax, edi
push ebp
lea edx, [ecx + 0xa]
call fcn.005d7fb0
inc edi
add esp, 4
cmp edi, ebx
jl 0x5f2e10
mov eax, ebp
call fcn.005d7fd0
mov ecx, dword [esp + 0x14]
mov edi, eax
push ebp
mov edx, 0x48
mov dword [esp + 0x3c], edi
call fcn.005d7fb0
mov eax, ebp
call fcn.005cfe20
mov dword [esp + 0x54], eax
mov eax, 1
push ebp
mov ecx, esi
lea edx, [eax + 0x13]
call fcn.005d7fb0
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
jle 0x5f2efb
lea ecx, [eax + esi + 1]
mov dword [esp + 0x4c], ecx
lea esp, [esp]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
push edx
push ebx
push eax
push 0x1d
mov eax, ebp
call fcn.005d7f10
add esp, 0x10
test ebx, ebx
jne 0x5f2eae
lea eax, [esi + 1]
push ebp
lea ecx, [ebx + 0x1c]
call fcn.005d7f90
add esp, 4
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x20]
mov esi, dword [edx + ebx*4]
mov edi, dword [esp + 0x5c]
call fcn.005eca50
mov edx, dword [esp + 0x2c]
push 0xfffffffffffffffc
push eax
mov eax, dword [esp + 0x54]
add eax, ebx
push 0x4b
xor ecx, ecx
mov edi, ebp
call fcn.005de560
mov ecx, dword [esp + 0x2c]
mov dword [ecx + ebx*4], eax
add esp, 0xc
mov dl, 0x80
mov eax, ebp
call fcn.005cfe60
mov esi, dword [esp + 0x6c]
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x5f2e80
mov edi, dword [esp + 0x38]
xor ecx, ecx
push ebp
mov eax, edi
lea edx, [ecx + 1]
call fcn.005d7fb0
mov ebx, dword [esp + 0x14]
add esp, 4
xor edi, edi
test ebx, ebx
jle 0x5f2f6c
lea ebx, [ebx + esi + 1]
lea esp, [esp]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + edi*4]
mov ecx, ebp
call fcn.005cfe80
test edi, edi
jne 0x5f2f3d
mov eax, dword [esp + 0x30]
mov ecx, ebp
call fcn.005cfe80
mov eax, 1
lea ecx, [esi + edi + 1]
push ebp
lea edx, [eax + 0x13]
call fcn.005d7fb0
mov ecx, dword [esp + 0x18]
lea eax, [ebx + edi]
push eax
push edi
push ecx
push 0x1d
mov eax, ebp
call fcn.005d7f10
inc edi
add esp, 0x14
cmp edi, dword [esp + 0x10]
jl 0x5f2f20
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
call fcn.005ca970
mov edx, dword [esp + 0x38]
mov ecx, ebp
call fcn.005cfdf0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
push ebp
mov ecx, edi
mov edx, 0x5f
call fcn.005d7fb0
push ebp
mov eax, edi
mov ecx, 0x2d
call fcn.005d7f90
mov eax, dword [esp + 0x2c]
push ebp
mov ecx, esi
mov edx, 0xf
call fcn.005d7fb0
add esp, 0xc
cmp dword [esp + 0x18], 0
jge 0x5f2fd5
push ebp
mov eax, esi
mov ecx, 0x1c
call fcn.005d7f90
add esp, 4
mov dword [esp + 0x18], eax
cmp dword [esp + 0x10], 0
jle 0x5f306e
mov edx, dword [esp + 0x10]
lea ebx, [esi + 1]
mov dword [esp + 0x38], edx
jmp 0x5f2ff0
mov esi, dword [esp + 0x54]
push 0
push 0x7c0c20
push 0x5e
xor eax, eax
mov ecx, esi
xor edx, edx
mov edi, ebp
call fcn.005de560
mov edi, dword [esp + 0x30]
push edi
push edi
push esi
push 0x5b
mov eax, ebp
call fcn.005d7f10
mov eax, dword [esp + 0x88]
push esi
push ebx
push eax
push 0x56
mov eax, ebp
call fcn.005d7f10
or eax, 0xffffffff
push ebp
mov ecx, esi
lea edx, [eax + 0x15]
call fcn.005d7fb0
push esi
push esi
push ebx
push 0x59
mov eax, ebp
call fcn.005d7f10
add esp, 0x40
push ebp
mov eax, esi
mov ecx, 0x90
call fcn.005d7f90
push edi
push edi
push esi
push 0x5b
mov eax, ebp
call fcn.005d7f10
add esp, 0x14
inc ebx
sub dword [esp + 0x38], 1
jne 0x5f2ff0
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
push 0
push 0x7d20b4
push 0x1f
mov eax, ebx
mov ecx, 3
mov edi, ebp
call fcn.005de560
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x74]
push ebp
mov eax, edi
mov ecx, esi
mov edx, 0x38
call fcn.005d7fb0
push edi
push ebx
push esi
push 0x39
mov eax, ebp
call fcn.005d7f10
add esp, 0x20
mov dl, 8
mov eax, ebp
call fcn.005cfe60
mov edi, dword [esp + 0x1c]
mov edi, dword [edi + 0x14]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x5f2d50
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x14]
cmp dword [eax + 8], 0
jne 0x5f3122
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax + 0x20]
push ecx
push edx
push ebx
push 0x27
mov eax, ebp
call fcn.005d7f10
mov esi, dword [esp + 0x34]
push ebp
mov eax, esi
mov ecx, ebx
mov edx, 0x20
call fcn.005d7fb0
push ebp
mov eax, ebx
mov ecx, 0x2d
call fcn.005d7f90
push ebp
mov eax, esi
mov ecx, 0x1c
call fcn.005d7f90
add esp, 0x1c
jmp 0x5f313b
mov eax, dword [esp + 0x18]
mov ecx, ebp
call fcn.005cfe80
push ebp
mov eax, 1
call fcn.005d7f70
add esp, 4
xor ecx, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x40]
push ebp
lea edx, [ecx + 0xa]
call fcn.005d7fb0
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 0
push 0x7d20b4
push 0x1f
mov eax, esi
mov ecx, 3
mov edi, ebp
call fcn.005de560
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0x78]
push ebp
mov eax, ebx
mov ecx, edi
mov edx, 0x38
call fcn.005d7fb0
push ebx
push esi
push edi
push 0x39
mov eax, ebp
call fcn.005d7f10
add esp, 0x24
mov dl, 8
mov eax, ebp
call fcn.005cfe60
mov eax, dword [esp + 0x5c]
cmp dword [eax + 0x4c], esi
jge 0x5f31a8
mov dword [eax + 0x4c], esi
mov eax, dword [esp + 0x18]
pop esi
pop edi
mov ecx, ebp
pop ebp
pop ebx
add esp, 0x48
jmp fcn.005cfe80
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x48
ret