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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x5f3301
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
test dl, dl
je 0x5f331a
add esp, 0xfffffff0
call fcn.004066b0
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x5f2de4
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.005f23f0
mov dword [ebx + 0x60], ebx
mov byte [ebx + 0x14], 1
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2e1c
call fcn.00408f70
jne 0x5f3364
lea eax, [ebx + 0x10]
mov edx, dword [esi + 0x20]
call fcn.004080ac
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2e34
call fcn.00408f70
jne 0x5f33fb
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0054d23c
mov eax, dword [ebp - 0x14]
call fcn.005ed508
mov byte [ebx + 0x68], al
movzx eax, byte [ebx + 0x68]
movzx eax, byte [eax + 0x653f8c]
sub al, 2
jae 0x5f361c
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x2c]
mov eax, esi
call fcn.0054d23c
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, 0x5f2e50
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [0x654f60]
call fcn.0040bbe8
mov eax, dword [ebp - 0x30]
mov ecx, 1
pop edx
call fcn.00422800
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2e80
call fcn.00408f70
jne 0x5f341c
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x80], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2eb0
call fcn.00408f70
jne 0x5f343a
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x15], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2ecc
call fcn.00408f70
jne 0x5f3458
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x16], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2eec
call fcn.00408f70
jne 0x5f3476
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x59], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2f14
call fcn.00408f70
jne 0x5f3494
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x40], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2f38
call fcn.00408f70
jne 0x5f34b3
lea eax, [ebx + 0x38]
mov edx, dword [esi + 0x20]
call fcn.004080ac
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2f60
call fcn.00408f70
jne 0x5f34d2
lea eax, [ebx + 0x3c]
mov edx, dword [esi + 0x20]
call fcn.004080ac
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2f88
call fcn.00408f70
jne 0x5f34f0
mov eax, esi
call fcn.0054d120
mov byte [ebx + 0x14], al
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2fa4
call fcn.00408f70
jne 0x5f352a
lea edx, [ebp - 0x34]
mov edi, esi
mov eax, edi
call fcn.0054d23c
mov edx, dword [ebp - 0x34]
mov eax, dword [edi]
call fcn.0054cebc
fstp qword [ebp - 0x10]
wait
mov eax, dword [ebp - 0x10]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x74], eax
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2fc4
call fcn.00408f70
jne 0x5f3556
lea edx, [ebp - 0x38]
mov eax, esi
call fcn.0054d23c
mov eax, dword [ebp - 0x38]
call fcn.00420d34
mov dword [ebx + 0x78], eax
mov dword [ebx + 0x7c], edx
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f2fe4
call fcn.00408f70
jne 0x5f357f
lea edx, [ebp - 0x3c]
mov eax, esi
call fcn.0054d23c
mov eax, dword [ebp - 0x3c]
call fcn.00420cc0
mov dword [ebx + 0x24], eax
jmp 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f300c
call fcn.00408f70
jne 0x5f35a8
lea edx, [ebp - 0x40]
mov eax, esi
call fcn.0054d23c
mov eax, dword [ebp - 0x40]
call fcn.00420d34
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], edx
jmp 0x5f361c
mov eax, dword [esi + 0x40]
cmp word [eax], 0x33
jne 0x5f35cf
mov eax, dword [esi + 0x1c]
mov edx, 0x5f3034
call fcn.00408f70
je 0x5f361c
mov eax, dword [esi + 0x1c]
mov edx, 0x5f304c
call fcn.00408f70
je 0x5f361c
lea eax, [ebp - 0x44]
push eax
lea edx, [ebp - 0x48]
mov eax, dword [0x6546ec]
call fcn.0040bbe8
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, 0x5f3070
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x44]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
mov eax, esi
call fcn.0054a568
test al, al
jne 0x5f3345
cmp dword [ebx + 0x10], 0
jne 0x5f3680
lea eax, [ebp - 0x4c]
push eax
lea edx, [ebp - 0x50]
mov eax, dword [0x655190]
call fcn.0040bbe8
mov eax, dword [ebp - 0x50]
push eax
mov eax, 0x5f2e1c
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, 0x5f3070
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x4c]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
cmp byte [esi + 0x25], 0
je 0x5f38c0
mov eax, esi
call fcn.0054ad84
test al, al
je 0x5f38c0
mov eax, dword [esi + 0x1c]
mov edx, 0x5f3090
call fcn.00408f70
jne 0x5f3733
push esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5e3c5c]
call fcn.005f2444
mov edx, dword [ebx + 0x4c]
xchg edx, eax
call fcn.00443c14
cmp dword [esi + 0x1c], 0
je 0x5f38b1
mov eax, dword [esi + 0x1c]
mov edx, 0x5f3090
call fcn.00408f70
je 0x5f38b1
lea eax, [ebp - 0x54]
push eax
lea edx, [ebp - 0x58]
mov eax, dword [0x654d18]
call fcn.0040bbe8
mov eax, dword [ebp - 0x58]
push eax
mov eax, 0x5f3090
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
jmp 0x5f38b1
mov eax, dword [esi + 0x1c]
mov edx, 0x5f30ac
call fcn.00408f70
jne 0x5f37cd
push esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5e3d54]
call fcn.005f32f8
mov edx, dword [ebx + 0x50]
xchg edx, eax
call fcn.00443c14
cmp dword [esi + 0x1c], 0
je 0x5f38b1
mov eax, dword [esi + 0x1c]
mov edx, 0x5f30ac
call fcn.00408f70
je 0x5f38b1
lea eax, [ebp - 0x5c]
push eax
lea edx, [ebp - 0x60]
mov eax, dword [0x654d18]
call fcn.0040bbe8
mov eax, dword [ebp - 0x60]
push eax
mov eax, 0x5f30ac
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x5c]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
jmp 0x5f38b1
mov eax, dword [esi + 0x1c]
mov edx, 0x5f30c8
call fcn.00408f70
jne 0x5f3864
push esi
mov ecx, ebx
mov dl, 1
mov eax, dword [0x5e3ab8]
call fcn.005eeb08
mov edx, dword [ebx + 0x54]
xchg edx, eax
call fcn.00443c14
cmp dword [esi + 0x1c], 0
je 0x5f38b1
mov eax, dword [esi + 0x1c]
mov edx, 0x5f30c8
call fcn.00408f70
je 0x5f38b1
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [0x654d18]
call fcn.0040bbe8
mov eax, dword [ebp - 0x68]
push eax
mov eax, 0x5f30c8
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
jmp 0x5f38b1
lea eax, [ebp - 0x6c]
push eax
lea edx, [ebp - 0x70]
mov eax, dword [0x6547f0]
call fcn.0040bbe8
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, 0x5f3070
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0x11
lea edx, [ebp - 0x28]
mov ecx, 1
pop eax
call fcn.00422800
mov ecx, dword [ebp - 0x6c]
mov dl, 1
mov eax, dword [0x548cdc]
call fcn.00426ce8
call fcn.004073b4
mov eax, esi
call fcn.0054ad84
test al, al
jne 0x5f3699
cmp byte [ebx + 0x15], 0
je 0x5f38f5
mov eax, dword [ebx + 4]
cmp byte [eax + 0xd], 0
je 0x5f38f5
mov eax, dword [ebx + 4]
movzx eax, byte [eax + 0xc]
mov byte [ebx + 0x40], al
lea eax, [ebx + 0x38]
mov edx, dword [ebx + 4]
mov edx, dword [edx + 4]
call fcn.004080ac
lea eax, [ebx + 0x3c]
mov edx, dword [ebx + 4]
mov edx, dword [edx + 8]
call fcn.004080ac
cmp dword [ebx + 0x38], 0
je 0x5f3946
mov dl, 1
mov eax, dword [0x5d7ca0]
call fcn.005d9b60
mov esi, eax
mov dword [ebx + 0x44], esi
movzx ecx, byte [ebx + 0x40]
mov edx, dword [ebx + 0x38]
mov eax, esi
call fcn.005d9d7c
mov esi, dword [ebx + 0x44]
cmp byte [esi + 8], 0
je 0x5f392e
mov eax, esi
call fcn.005d9c78
test al, al
jne 0x5f3946
lea eax, [ebx + 0x44]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00406180
lea eax, [ebx + 0x38]
call fcn.00407ccc
cmp dword [ebx + 0x3c], 0
je 0x5f3997
mov dl, 1
mov eax, dword [0x5d7ca0]
call fcn.005d9b60
mov esi, eax
mov dword [ebx + 0x48], esi
movzx ecx, byte [ebx + 0x40]
mov edx, dword [ebx + 0x3c]
mov eax, esi
call fcn.005d9d7c
mov esi, dword [ebx + 0x48]
cmp byte [esi + 8], 0
je 0x5f397f
mov eax, esi
call fcn.005d9c78
test al, al
jne 0x5f3997
lea eax, [ebx + 0x48]
mov edx, dword [eax]
xor ecx, ecx
mov dword [eax], ecx
mov eax, edx
call fcn.00406180
lea eax, [ebx + 0x3c]
call fcn.00407ccc
cmp byte [ebx + 0x68], 0
jne 0x5f39bc
lea ecx, [ebp - 0x74]
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebx + 0x10]
mov eax, dword [0x655260]
mov eax, dword [eax]
mov esi, dword [eax]
call dword [esi]
mov byte [ebx + 0x68], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f2deb
lea eax, [ebp - 0x74]
mov edx, 0x13
call fcn.00407d2c
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00407d2c
ret