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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
and esp, 0xfffffff8
sub esp, 0xa8
mov eax, dword [ebp + 8]
mov word [esp + 0xa2], 0xb614
mov dword [esp + 0x88], 0x605c7f84
mov ecx, dword [esp + 0x8c]
mov edx, ecx
xor edx, 0x1d0ee726
mov dword [esp + 0x8c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call fcn.10001280
mov ecx, 0x605c7f84
mov dword [esp + 0x34], eax
sub ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x2c]
or eax, eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x78], 0
jmp 0x10005243
mov ax, 0xd6e6
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x34]
imul esi, ecx, 0xc8
mov esi, dword [edx + esi + 0x38]
mov dword [esp + 0x48], esi
mov word [esp + 0xa0], 0x60aa
movzx esi, word [esp + 0xa2]
xor esi, 0x72f8
mov di, si
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0
imul ecx, ecx, 0xc8
add edx, ecx
mov ecx, dword [edx]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x4c]
mov word [esp + 0xa0], 0xc7c
xor ecx, dword [esp + 0x48]
mov word [esp + 0x3a], di
mov di, word [esp + 0x3a]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x2c]
and ecx, ecx
mov dword [esp + 0x8c], ecx
cmp ax, di
ja 0x1000532b
jmp 0x1000526c
lea eax, [0x10025356]
mov ecx, 0xe
lea edx, [esp + 0x54]
mov esi, dword [esp + 0x2c]
sub esi, 0x59ec2671
mov edi, dword [esp + 0x88]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x2c]
imul ebx, esi, 0x4f792268
add edi, 0x9fa3807c
mov dword [esp + 0x8c], ebx
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ecx
call fcn.100060e0
lea eax, [esp + 0x54]
mov dword [esp], eax
call fcn.10005440
xor ecx, ecx
mov edx, 0x1000
mov esi, 4
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x2c]
imul edi, eax, 0x1bf33596
mov dword [esp + 0x8c], edi
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x3c]
mov dword [esp], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], 0x1000
mov dword [esp + 0xc], 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], edx
call edi
sub esp, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x50], eax
jmp 0x10005281
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x88]
add ecx, 0x9fa3808e
mov dword [esp + 0x8c], 0x5cc3a5ba
cmp eax, ecx
jb 0x100050e0
jmp 0x10005174
mov eax, dword [esp + 0x50]
add eax, 1
mov word [esp + 0xa0], 0x6c77
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x50]
cmp eax, 0x12
jb 0x10005382
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x88]
xor esi, 0x605dab84
mov edi, esp
mov dword [edi + 8], ecx
mov dword [edi + 4], edx
mov dword [edi], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
call fcn.10005860
mov eax, dword [esp + 0x40]
add eax, 0x2bbc
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], 0x7602fce8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
add eax, 0xb85
mov dword [ecx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
add ecx, 0x416df627
mov dword [esp + 0x8c], ecx
mov dword [eax], 0x2030
mov dword [esp + 0x8c], 0x6afe99b5
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
mov ax, word [esp + 0xa0]
imul ax, word [esp + 0xa0]
mov ecx, dword [esp + 0x48]
mov word [esp + 0xa0], ax
add ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], ecx
mov dl, byte [esp + 0x9f]
add dl, byte [esp + 0x9f]
mov byte [esp + 0x9f], dl
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x2c]
add ecx, ecx
add eax, 1
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x78], eax
jmp 0x10005243
mov eax, dword [esp + 0x50]
imul eax, eax, 0xc8
add eax, dword [esp + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x50]
imul eax, eax, 0xc8
add eax, dword [esp + 0x34]
mov dword [esp + 0x8c], 0xe1680d94
mov cx, word [esp + 0xa0]
and cx, 0x1c6d
mov word [esp + 0xa0], cx
mov eax, dword [eax + 0x74]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x34]
imul edx, dword [esp + 0x50], 0xc8
add eax, edx
mov eax, dword [eax]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x74]
xor eax, dword [esp + 0x44]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
add edx, dword [esp + 0x40]
mov esi, dword [esp + 0x80]
mov dword [esp], edx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.10005cc0
mov al, byte [esp + 0x9f]
mov ah, 0xe2
mul ah
mov byte [esp + 0x9f], al
mov edx, dword [esp + 0x7c]
add edx, dword [esp + 0x74]
mov dword [esp + 0x7c], edx
jmp 0x1000526c