Function at 0x5215e8
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x521e8b
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
je 0x521e54
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x58]
mov eax, dword [ebp - 4]
call fcn.005215e8
jmp 0x521e54
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebp - 8]
jne 0x521b01
cmp dword [ebx + 0x58], 0
jne 0x521b01
mov eax, dword [ebp - 8]
cmp byte [eax + 0xc], 0
jne 0x521b01
mov eax, dword [ebp - 8]
cmp byte [eax + 0x49], 0
je 0x521663
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x48], 0
jne 0x521b01
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp word [eax + 0x6a], 0
je 0x52168e
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x6a], 0
je 0x52168e
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x68]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x68]
jne 0x5216d4
mov eax, dword [ebp - 8]
cmp word [eax + 0x72], 0
je 0x5216b0
mov eax, dword [ebp - 0x10]
cmp word [eax + 0x72], 0
je 0x5216b0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x70]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x70]
jne 0x5216d4
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 0
je 0x5216d0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x78], 0
je 0x5216d0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 0x10]
cmp eax, dword [edx + 0x78]
jne 0x5216d4
xor eax, eax
jmp 0x5216d6
mov al, 1
mov byte [ebp - 9], al
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 1
jne 0x5216eb
mov eax, dword [ebp - 8]
cmp dword [eax + 0x44], 1
je 0x5216fd
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], 1
je 0x5216fd
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
jne 0x521701
xor eax, eax
jmp 0x521703
mov al, 1
mov byte [ebp - 0xa], al
cmp byte [ebp - 9], 0
jne 0x521e61
cmp byte [ebp - 0xa], 0
jne 0x521e61
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x521730
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x60], 0
jne 0x521e61
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
je 0x521760
mov eax, dword [ebp - 8]
cmp dword [eax + 0x44], 1
jg 0x521e61
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
jg 0x521e61
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], 0
je 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0
je 0x521790
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x60], 0
jne 0x521e61
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
jg 0x521e61
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], 1
jl 0x521e61
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x5217ac
push ebp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.005215ac
pop ecx
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x5217c2
mov eax, dword [ebp - 0x10]
cmp byte [eax + 5], 0
jne 0x5217c2
xor eax, eax
jmp 0x5217c4
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 5], al
mov eax, dword [ebp - 8]
cmp byte [eax + 6], 0
jne 0x5217e0
mov eax, dword [ebp - 0x10]
cmp byte [eax + 6], 0
jne 0x5217e0
xor eax, eax
jmp 0x5217e2
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xc]
mov edx, dword [ebp - 8]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xd]
mov edx, dword [ebp - 8]
mov byte [edx + 0xd], al
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0xe]
mov edx, dword [ebp - 8]
mov word [edx + 0xe], ax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x10]
mov edx, dword [ebp - 8]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
call fcn.004080ac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x24]
mov edx, dword [ebp - 8]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x25]
mov edx, dword [ebp - 8]
mov byte [edx + 0x25], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x26]
mov edx, dword [ebp - 8]
mov byte [edx + 0x26], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x27]
mov edx, dword [ebp - 8]
mov byte [edx + 0x27], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x28]
mov edx, dword [ebp - 8]
mov byte [edx + 0x28], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x29]
mov edx, dword [ebp - 8]
mov byte [edx + 0x29], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x2a]
mov edx, dword [ebp - 8]
mov byte [edx + 0x2a], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x2b]
mov edx, dword [ebp - 8]
mov byte [edx + 0x2b], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x30]
mov edx, dword [ebp - 8]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x31]
mov edx, dword [ebp - 8]
mov byte [edx + 0x31], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x32]
mov edx, dword [ebp - 8]
mov byte [edx + 0x32], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x3c]
mov edx, dword [ebp - 8]
mov byte [edx + 0x3c], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x3d]
mov edx, dword [ebp - 8]
mov byte [edx + 0x3d], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
imul eax, dword [edx + 0x40]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4a], 0
je 0x5219cf
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x40], 1
jne 0x521966
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
je 0x5219cf
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x48], 0
je 0x521980
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
mov dword [edx + 0x44], eax
jmp 0x521a6d
xor eax, eax
push ebp
push 0x520daf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
imul eax, dword [edx + 0x44]
mov dword [edx + 0x44], eax
jno 0x5219a5
call fcn.00406068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5219c3
mov eax, dword [ebp - 8]
mov byte [eax + 0x49], 1
jmp 0x521a6d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x44], 1
jle 0x521a4f
xor eax, eax
push ebp
push 0x520e07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
imul eax, dword [edx + 0x44]
mov dword [edx + 0x44], eax
jno 0x5219fd
call fcn.00406068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x521a1b
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x48]
mov edx, dword [ebp - 8]
mov byte [edx + 0x48], al
mov eax, dword [ebp - 8]
cmp byte [eax + 0x49], 0
jne 0x521a47
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4a], 0
jne 0x521a47
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x49], 0
jne 0x521a47
xor eax, eax
jmp 0x521a49
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x49], al
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4a], 0
jne 0x521a65
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x4a], 0
jne 0x521a65
xor eax, eax
jmp 0x521a67
mov al, 1
mov edx, dword [ebp - 8]
mov byte [edx + 0x4a], al
mov eax, dword [ebp - 8]
cmp dword [eax + 0x60], 0
jne 0x521a82
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 8]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x64]
mov edx, dword [ebp - 8]
mov byte [edx + 0x64], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x65]
mov edx, dword [ebp - 8]
mov byte [edx + 0x65], al
mov eax, dword [ebp - 8]
cmp dword [eax + 0x68], 0
jne 0x521ab7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x70], 0
jne 0x521ad2
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x70]
mov dword [eax + 0x70], ecx
mov ecx, dword [edx + 0x74]
mov dword [eax + 0x74], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x78], 0
jne 0x521ae7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
mov edx, dword [ebp - 8]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x10]
call fcn.00406180
jmp 0x521e54
mov eax, dword [ebp - 8]
cmp dword [eax + 0x40], 1
jne 0x521e61
mov eax, dword [ebp - 8]
cmp dword [eax + 0x44], 1
jne 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 0x4a], 0
jne 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 0xc], 0
jne 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 5], 0
jne 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 6], 0
jne 0x521e61
mov eax, dword [ebp - 8]
call fcn.00520afc
test al, al
jne 0x521e61
mov eax, dword [ebp - 8]
cmp byte [eax + 0x5c], 0
jne 0x521e61
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
cmp byte [eax + 0x5c], 0
je 0x521b85
mov eax, dword [ebp - 8]
cmp dword [eax + 0x58], 0
jne 0x521e61
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x521bac
push ebp
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.005215ac
pop ecx
jmp 0x521bbb
push ebp
mov cl, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00521548
pop ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0
je 0x521bd7
push ebp
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.005215ac
pop ecx
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 5]
mov edx, dword [ebp - 8]
mov byte [edx + 5], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 6]
mov edx, dword [ebp - 8]
mov byte [edx + 6], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xc]
mov edx, dword [ebp - 8]
mov byte [edx + 0xc], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0xd]
mov edx, dword [ebp - 8]
mov byte [edx + 0xd], al
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0xe]
mov edx, dword [ebp - 8]
mov word [edx + 0xe], ax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x10]
mov edx, dword [ebp - 8]
mov byte [edx + 0x10], al
mov eax, dword [ebp - 8]
add eax, 0x14
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
call fcn.004080ac
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x18]
mov edx, dword [ebp - 8]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x1c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x24]
mov edx, dword [ebp - 8]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x25]
mov edx, dword [ebp - 8]
mov byte [edx + 0x25], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x26]
mov edx, dword [ebp - 8]
mov byte [edx + 0x26], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x27]
mov edx, dword [ebp - 8]
mov byte [edx + 0x27], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x28]
mov edx, dword [ebp - 8]
mov byte [edx + 0x28], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x29]
mov edx, dword [ebp - 8]
mov byte [edx + 0x29], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x2a]
mov edx, dword [ebp - 8]
mov byte [edx + 0x2a], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x2b]
mov edx, dword [ebp - 8]
mov byte [edx + 0x2b], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x30]
mov edx, dword [ebp - 8]
mov byte [edx + 0x30], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x31]
mov edx, dword [ebp - 8]
mov byte [edx + 0x31], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x32]
mov edx, dword [ebp - 8]
mov byte [edx + 0x32], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x3c]
mov edx, dword [ebp - 8]
mov byte [edx + 0x3c], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x3d]
mov edx, dword [ebp - 8]
mov byte [edx + 0x3d], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x44]
mov edx, dword [ebp - 8]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x48]
mov edx, dword [ebp - 8]
mov byte [edx + 0x48], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x49]
mov edx, dword [ebp - 8]
mov byte [edx + 0x49], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x4a]
mov edx, dword [ebp - 8]
mov byte [edx + 0x4a], al
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp - 8]
mov dword [edx + 0x4c], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x50]
mov edx, dword [ebp - 8]
mov dword [edx + 0x50], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x54]
mov edx, dword [ebp - 8]
mov byte [edx + 0x54], al
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x5c], 0
je 0x521db6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 8]
mov byte [eax + 0x5c], 1
jmp 0x521dd9
mov esi, dword [ebp - 0x10]
jmp 0x521dbd
mov esi, edi
mov edi, dword [esi + 0x58]
test edi, edi
jne 0x521dbb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 8]
mov dword [edx + 0x58], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x60]
mov edx, dword [ebp - 8]
mov dword [edx + 0x60], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x64]
mov edx, dword [ebp - 8]
mov byte [edx + 0x64], al
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x65]
mov edx, dword [ebp - 8]
mov byte [edx + 0x65], al
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x6c], ecx
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x70]
mov dword [eax + 0x70], ecx
mov ecx, dword [edx + 0x74]
mov dword [eax + 0x74], ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 8]
mov dword [edx + 0x78], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 4]
mov edx, dword [ebp - 8]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x1c], edx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x20], edx
mov eax, dword [ebp - 0x10]
call fcn.00406180
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
jne 0x521621
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x521e78
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
call fcn.005215e8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x50]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x521601
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret