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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1c
push 0
push 0
dec ecx
jne 0x5f26b1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 0x30], edx
mov esi, eax
xor eax, eax
push ebp
push 0x5f2f61
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x31], 0
mov dword [esi + 0x58], 0x1f4
lea eax, [esi + 0x5c]
xor edx, edx
call fcn.004072e8
xor eax, eax
mov dword [esi + 0x68], eax
xor eax, eax
mov dword [esi + 0x6c], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0xc]
lea edx, [ebp - 8]
mov eax, ebx
call fcn.005e621c
cmp dword [ebp - 0xc], 0
jne 0x5f2733
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x14]
call fcn.0040733c
lea eax, [ebp - 0x10]
mov edx, dword [esi + 0x18]
call fcn.0040733c
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 8]
call fcn.00413a64
mov eax, dword [ebp - 0x40]
mov edx, 0x5f2f84
call fcn.004079d0
jne 0x5f2796
cmp dword [esi + 0x48], 0
setne bl
mov eax, dword [esi + 0x1c]
add eax, 0x204
mov edx, dword [esi + 0x48]
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x208
mov edx, dword [esi + 0x4c]
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x218
mov edx, dword [esi + 0x50]
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x21c
mov edx, dword [esi + 0x54]
call fcn.004072e8
jmp 0x5f27d4
xor ebx, ebx
mov eax, dword [esi + 0x1c]
add eax, 0x204
xor edx, edx
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x208
xor edx, edx
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x218
xor edx, edx
call fcn.004072e8
mov eax, dword [esi + 0x1c]
add eax, 0x21c
xor edx, edx
call fcn.004072e8
cmp dword [esi + 0x48], 0
je 0x5f27de
test bl, bl
je 0x5f27e2
xor eax, eax
jmp 0x5f27e4
mov al, 1
mov byte [ebp - 0x39], al
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5f27fb
cmp eax, 0
seta al
jmp 0x5f27fe
setg al
mov byte [ebp - 0x32], al
movzx eax, byte [esi + 0x44]
and al, byte [ebp - 0x32]
je 0x5f2819
mov eax, dword [esi + 0x38]
mov edx, 0x5f2f9c
call fcn.004079d0
je 0x5f281d
xor eax, eax
jmp 0x5f281f
mov al, 1
test al, al
je 0x5f2832
mov ecx, 0x5f2fb0
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x32], 0
je 0x5f2889
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [ebp - 0x48]
call fcn.00414a50
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x44]
mov edx, 0x5f2fe8
call fcn.004077cc
mov ecx, dword [ebp - 0x44]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x34], 0
je 0x5f2889
lea eax, [ebp - 0x4c]
mov ecx, dword [esi + 0x34]
mov edx, 0x5f3018
call fcn.004077cc
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [esi + 0x60], 0
je 0x5f28ac
lea eax, [ebp - 0x50]
mov ecx, dword [esi + 0x60]
mov edx, 0x5f3044
call fcn.004077cc
mov ecx, dword [ebp - 0x50]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov ebx, dword [esi + 0x70]
test ebx, ebx
jg 0x5f28b9
cmp dword [esi + 0x74], 0
jle 0x5f2930
cmp ebx, dword [esi + 0x74]
jg 0x5f28ff
push 0x5f306c
lea edx, [ebp - 0x58]
mov eax, ebx
call fcn.0041480c
push dword [ebp - 0x58]
push 0x5f3094
lea edx, [ebp - 0x5c]
mov eax, dword [esi + 0x74]
call fcn.0041480c
push dword [ebp - 0x5c]
lea eax, [ebp - 0x54]
mov edx, 4
call fcn.004078b0
mov ecx, dword [ebp - 0x54]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x5f2930
push 0x5f306c
lea edx, [ebp - 0x64]
mov eax, ebx
call fcn.0041480c
push dword [ebp - 0x64]
push 0x5f3094
lea eax, [ebp - 0x60]
mov edx, 3
call fcn.004078b0
mov ecx, dword [ebp - 0x60]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.0040733c
mov eax, dword [esi + 0x64]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x5f2983
inc ebx
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x28], 0
je 0x5f2964
lea eax, [ebp - 0x28]
mov edx, 0x5f30a4
call fcn.0040770c
lea ecx, [ebp - 0x68]
mov edx, dword [ebp - 0x38]
mov eax, dword [esi + 0x64]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x28]
call fcn.0040770c
inc dword [ebp - 0x38]
dec ebx
jne 0x5f2951
cmp dword [ebp - 0x28], 0
je 0x5f29a6
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x28]
mov edx, 0x5f30b8
call fcn.004077cc
mov ecx, dword [ebp - 0x6c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea eax, [ebp - 0x2c]
xor edx, edx
call fcn.0040733c
cmp byte [ebp - 0x39], 0
je 0x5f29c3
lea eax, [ebp - 0x2c]
mov edx, 0x5f30d8
call fcn.0040733c
cmp byte [esi + 0x3c], 0
je 0x5f2a10
lea eax, [ebp - 0x70]
mov ecx, 0x5f30f4
mov edx, dword [ebp - 0x2c]
call fcn.004077cc
mov ecx, dword [ebp - 0x70]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0x78]
mov eax, dword [esi + 0x40]
call fcn.0041480c
mov ecx, dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 0x5f3130
call fcn.004077cc
mov ecx, dword [ebp - 0x74]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x5f2a2d
lea eax, [ebp - 0x7c]
mov ecx, 0x5f3158
mov edx, dword [ebp - 0x2c]
call fcn.004077cc
mov ecx, dword [ebp - 0x7c]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp dword [ebp - 0xc], 0
je 0x5f2aa6
push dword [ebp - 0xc]
push 0x5f3188
push dword [ebp - 0x10]
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.004078b0
mov edx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov ecx, 0
call fcn.0040753c
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.005e59f4
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 0x5f3198
call fcn.004068b0
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
call fcn.00407514
mov ecx, dword [ebp - 0x80]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x39], 0
je 0x5f2b2b
cmp dword [esi + 0x50], 0
je 0x5f2b2b
push dword [esi + 0x50]
push 0x5f3188
push dword [esi + 0x54]
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.004078b0
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
mov ecx, 0
call fcn.0040753c
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x9c]
call fcn.005e59f4
mov ecx, dword [ebp - 0x9c]
lea eax, [ebp - 0x98]
mov edx, 0x5f31bc
call fcn.004068b0
mov edx, dword [ebp - 0x98]
lea eax, [ebp - 0x94]
call fcn.00407514
mov ecx, dword [ebp - 0x94]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 0x14]
call fcn.005e6fdc
test al, al
je 0x5f2b53
push 0x5f31e4
push dword [ebp - 0x14]
push 0x5f31f4
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004078b0
jmp 0x5f2b5e
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x14]
call fcn.0040733c
cmp byte [esi + 0x78], 0
je 0x5f2ba5
mov eax, dword [ebp - 0x18]
mov edx, 0x5f3204
call fcn.004079d0
je 0x5f2ba5
push 0x5f3218
push dword [ebp - 0x28]
push 0x5f3188
push dword [ebp - 0x18]
lea eax, [ebp - 0xa8]
mov edx, 4
call fcn.004078b0
mov ecx, dword [ebp - 0xa8]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x5f2bc8
lea eax, [ebp - 0xac]
mov ecx, dword [ebp - 0x28]
mov edx, 0x5f3218
call fcn.004077cc
mov ecx, dword [ebp - 0xac]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x39], 0
je 0x5f2bf1
push dword [ebp - 8]
push 0x5f3234
push dword [ebp - 0x28]
push 0x5f3188
push dword [ebp - 0x18]
push dword [ebp - 0x24]
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004078b0
mov eax, dword [ebp - 0x24]
mov edx, 0x5f3248
call fcn.004079d0
jne 0x5f2c0d
lea eax, [ebp - 0x24]
mov edx, 0x5f325c
call fcn.0040733c
mov eax, dword [esi + 0x38]
mov edx, 0x5f326c
call fcn.004079d0
jne 0x5f2c5a
lea edx, [ebp - 0xb4]
mov eax, dword [ebp - 0x30]
call fcn.00413a64
push dword [ebp - 0xb4]
push 0x5f3280
push dword [ebp - 0x24]
lea eax, [ebp - 0xb0]
mov edx, 3
call fcn.004078b0
mov ecx, dword [ebp - 0xb0]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x5f2c9e
lea edx, [ebp - 0xbc]
mov eax, dword [ebp - 0x30]
call fcn.00413a64
push dword [ebp - 0xbc]
push 0x5f3280
push dword [ebp - 0x24]
push 0x5f3290
push dword [esi + 0x38]
lea eax, [ebp - 0xb8]
mov edx, 5
call fcn.004078b0
mov ecx, dword [ebp - 0xb8]
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ebx, dword [eax]
call dword [ebx + 0x60]
cmp byte [ebp - 0x39], 0
je 0x5f2cbc
lea eax, [esi + 4]
mov edx, dword [esi + 0x48]
call fcn.004072e8
lea eax, [esi + 8]
mov edx, dword [esi + 0x4c]
call fcn.004072e8
jmp 0x5f2cd2
lea eax, [esi + 4]
mov edx, dword [ebp - 0x14]
call fcn.004072e8
lea eax, [esi + 8]
mov edx, dword [ebp - 0x18]
call fcn.004072e8
mov ebx, dword [esi + 0x2c]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xc0]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 0xc0], 0
je 0x5f2cff
xor edx, edx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea edx, [ebp - 0xc4]
mov eax, dword [ebp - 8]
call fcn.00413a64
mov eax, dword [ebp - 0xc4]
mov edx, 0x5f2f84
call fcn.004079d0
sete dl
mov eax, esi
call fcn.005f264c
test al, al
jne 0x5f2d44
lea eax, [esi + 0x24]
xor edx, edx
call fcn.004072e8
lea eax, [esi + 0x28]
xor edx, edx
call fcn.004072e8
jmp 0x5f2ead
push 0
push 0
mov eax, dword [esi + 0x30]
call fcn.0043a9f0
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040733c
cmp byte [ebp - 0x32], 0
je 0x5f2e69
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x5f2d79
cmp eax, 0x10000
jb 0x5f2dd1
jmp 0x5f2d7b
jl 0x5f2dd1
lea edx, [ebp - 0xcc]
mov eax, esi
call fcn.005f2524
mov edx, dword [ebp - 0xcc]
lea eax, [ebp - 0xc8]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0xc8]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0x30]
mov edx, dword [eax]
call dword [edx]
mov dword [esi + 0x6c], eax
mov ebx, dword [esi + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebx + 4]
mov eax, dword [esi + 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
jmp 0x5f2e9a
mov ebx, dword [esi + 0x30]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea ecx, [ebp - 0xd4]
mov eax, ebx
call fcn.005e6bb0
mov edx, dword [ebp - 0xd4]
lea eax, [ebp - 0xd0]
call fcn.00407514
mov eax, dword [ebp - 0xd0]
push eax
lea edx, [ebp - 0xd8]
mov eax, esi
call fcn.005f2524
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x28]
pop ecx
call fcn.004077cc
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5f2e3a
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x5f2e3a
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
call fcn.004065cc
test eax, eax
je 0x5f2e43
sub eax, 4
mov eax, dword [eax]
mov dword [esi + 0x6c], eax
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 0x28]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0xdc]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
jmp 0x5f2e9a
lea edx, [ebp - 0xe4]
mov eax, esi
call fcn.005f2524
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0xe0]
mov ecx, 0
call fcn.0040753c
mov edx, dword [ebp - 0xe0]
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [esi + 0x1c]
cmp dword [eax + 0x1b8], 0
jne 0x5f2ead
mov eax, esi
call fcn.005f2400
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f2f6b
lea eax, [ebp - 0xe4]
call fcn.004072d8
lea eax, [ebp - 0xe0]
mov edx, 2
call fcn.00406404
lea eax, [ebp - 0xd8]
call fcn.004072d8
lea eax, [ebp - 0xd4]
call fcn.004063e0
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.004072e0
lea eax, [ebp - 0xc8]
call fcn.004063e0
lea eax, [ebp - 0xc4]
mov edx, 9
call fcn.004072e0
lea eax, [ebp - 0xa0]
mov edx, 3
call fcn.00406404
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.004072e0
lea eax, [ebp - 0x8c]
mov edx, 3
call fcn.00406404
lea eax, [ebp - 0x80]
mov edx, 0x11
call fcn.004072e0
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.004072e0
ret