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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
and esp, 0xfffffff8
sub esp, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0x3e90b875
mov si, word [esp + 0x80]
mov word [esp + 0x80], 0
mov dword [esp + 0x7c], 0x5910213d
mov edi, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x6c], 0x5a56651
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x83]
mov byte [esp + 0x83], al
mov byte [esp + 0x3b], al
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
add eax, 0xf0dd4b14
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x34]
imul eax, eax, 0x507b1c86
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
cmp edx, eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x22], si
jb 0x10005bf5
jmp 0x10005b6d
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0x4ce6d77
mov cx, word [esp + 0x22]
mov ax, cx
imul eax, eax, 0xffffd8a4
mov dx, ax
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x50]
sub esi, 0x5c0207cd
sbb eax, 0
mov word [esp + 0x80], dx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
jb 0x10005a8b
jmp 0x10005ae5
lea esp, [ebp - 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x34]
xor ecx, 0xffffffff
mov dword [esp + 0x78], ecx
cmp eax, 0
jne 0x100059a3
jmp 0x10005ae0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov dl, byte [esp + 0x3b]
xor dl, 0xff
mov byte [esp + 0x83], dl
movzx ecx, word [ecx + 6]
cmp eax, ecx
jb 0x10005a40
jmp 0x100059f0
mov eax, dword [esp + 0x34]
and eax, 0x2fb480c7
mov dword [esp + 0x78], eax
jmp 0x100059f0
mov eax, dword [esp + 0x40]
mov word [esp + 0x80], 0x5722
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x24]
xor edx, 0x6b541a43
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], edx
xor ecx, 0x4af4caed
mov word [esp + 0x80], 0x4060
mov dword [esp + 0x60], eax
cmp dword [esp + 0x6c], ecx
jae 0x100059f0
jmp 0x100059f8
mov ax, word [esp + 0x22]
add ax, ax
mov word [esp + 0x80], ax
mov ecx, dword [esp + 0x48]
mov word [esp + 0x80], 0x171b
mov dword [esp + 0x78], 0x6c097314
mov edx, dword [esp + 0x5c]
mov esi, dword [esp + 0x44]
mov ecx, dword [ecx + 0x54]
mov edi, dword [ebp + 0xc]
mov ebx, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call section..text
jmp 0x10005b6d
jmp 0x100059f0
mov eax, dword [ebp + 0xc]
mov ecx, esp
mov dword [ecx], eax
call fcn.10004300
mov dx, word [esp + 0x22]
mov cx, dx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x74], 0x144b1bb
mov dword [esp + 0x70], 0x7e7ff31d
mov esi, 0xffffbea1
sub esi, ecx
mov di, si
mov ecx, eax
add ecx, 0x18
mov word [esp + 0x80], di
mov esi, dword [esp + 0x24]
add esi, 0x538908c7
mov ebx, dword [esp + 0x2c]
adc ebx, 0
mov di, word [eax + 0x14]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x70], esi
mov al, byte [esp + 0x3b]
xor al, 0xff
movzx esi, di
add ecx, esi
mov byte [esp + 0x83], al
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x44], 0
jmp 0x10005a11
jmp 0x100059f0
mov eax, dword [esp + 0x44]
mov cl, byte [esp + 0x3b]
or cl, 0xfc
mov byte [esp + 0x83], cl
add eax, 1
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x5c]
mov dx, word [esp + 0x22]
imul si, dx, 0x81d2
mov word [esp + 0x80], si
add eax, 0x28
mov dword [esp + 0x5c], eax
jmp 0x10005a11
mov eax, dword [esp + 0x24]
or eax, 0x43ae995b
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x34]
xor eax, 0x38b3e17c
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x78], eax
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x24]
add eax, 0x9b29e9e
adc ecx, 0
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
cmp dword [ebp + 0xc], 0
je 0x10005a31
jmp 0x10005ae5
mov ax, word [esp + 0x22]
or ax, 0x74fc
mov word [esp + 0x80], ax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x4c], ecx
cmp dword [esp + 0x4c], 0
je 0x10005b68
jmp 0x10005ba8