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

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dx, 0x1daf
mov byte [esp + 0x8f], 0xd6
mov dword [esp + 0x7c], 0x314c5249
mov word [esp + 0x46], 0x3e07
mov si, word [esp + 0x46]
cmp dx, si
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov word [esp + 0x22], si
ja 0x10005ccc
jmp 0x10005ce9
mov al, byte [esp + 0x8e]
add al, 0x55
mov ecx, dword [esp + 0x38]
mov dl, byte [esp + 0x8f]
mov byte [esp + 0x8e], al
mov al, dl
xor al, 7
mov dword [esp + 0x78], ecx
mov byte [esp + 0x8e], 0
lea ecx, [esp + 0x74]
xor dl, 0xd4
mov dword [esp + 0x30], ecx
mov byte [esp + 0x37], al
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x84]
mov al, byte [esp + 0x37]
not ecx
not esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ecx
cmp dl, al
jb 0x10005e53
jmp 0x10005c40
mov eax, dword [esp + 0x90]
mov dword [esp + 0x90], eax
mov dword [esp + 0x3c], 0
mov cl, byte [esp + 0x8e]
mov byte [esp + 0x8e], cl
mov ax, word [esp + 0x22]
xor ax, 0xffff
mov word [esp + 0x8c], ax
mov eax, dword [esp + 0x3c]
lea esp, [ebp - 0xc]
pop edi
pop ebx
pop esi
pop ebp
ret
mov eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
and edx, 0x553476e0
xor esi, 0x314c5251
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], 0
mov edx, esp
lea edi, [esp + 0x4c]
mov dword [edx], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], edi
call fcn.10005a40
mov ecx, esp
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], 0x10025272
mov byte [esp + 0x17], al
call fcn.10005a70
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 0x1c040489
mov ecx, dword [esp + 0x18]
mov dword [esp], ecx
call fcn.10005ec0
mov bx, word [esp + 0x22]
add bx, 0x9e19
mov word [esp + 0x8c], bx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x2c]
and eax, 0x52c3a0c4
mov dword [esp + 0x90], eax
cmp ecx, 0
jne 0x10005c40
jmp 0x10005ca8
mov ax, 0xafb9
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x90]
imul ecx, ecx
mov dword [esp + 0x90], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
mov esi, esp
lea edi, [esp + 0x6c]
mov dword [esi + 0xc], edi
lea edi, [esp + 0x70]
mov dword [esi + 4], edi
mov dword [esi], ecx
mov dword [esi + 8], 0
mov word [esp + 0x14], ax
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x84]
add ecx, 0x35c9e594
adc edx, 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x3c], eax
mov bx, word [esp + 0x14]
mov si, word [esp + 0x22]
sub bx, si
mov word [esp + 0x8c], bx
jmp 0x10005ccc
mov dword [esp + 0x3c], 0
jmp 0x10005ccc
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
mov ecx, esp
mov dword [ecx], eax
call fcn.100066a0
mov dx, ax
mov word [esp + 0x70], dx
mov word [esp + 0x72], dx
mov dword [esp + 0x90], 0
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
add eax, 0xcb92f495
adc ecx, 0xffffffff
movzx esi, word [esp + 0x72]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
cmp esi, 0
je 0x10005e46
jmp 0x10005db3