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

Disassembly:
sub esp, 0x28
mov ecx, dword [0x10141578]
mov eax, dword [0x10141554]
push ebx
push ebp
push esi
mov eax, dword [ecx + eax*4]
xor eax, dword [0x10141584]
mov dword [esp + 0x10], eax
mov eax, dword [0x101415c8]
push edi
mov edi, dword [esp + 0x48]
mov eax, dword [eax + 0x73d8]
mov dword [esp + 0x34], eax
mov eax, dword [0x10141594]
dec eax
mov dword [0x10141594], eax
add eax, edi
mov dword [esp + 0x24], eax
mov al, byte [eax]
mov byte [esp + 0x13], al
mov al, byte [esp + 0x3c]
dec al
movzx esi, al
mov byte [esp + 0x3c], al
mov eax, dword [0x101415b8]
mov dword [esp + 0x20], eax
mov ax, word [0x101415c4]
inc ax
mov dword [esp + 0x28], esi
movzx ecx, ax
inc ax
mov word [0x101415c4], ax
mov edx, ecx
movzx eax, al
and edx, 0x44d
imul ebx, eax, 0xf8
mov eax, dword [0x101415c0]
xor eax, 0xd5f
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
movzx ebp, word [ecx + eax*8 + 0x16]
inc eax
mov dword [esp + 0x50], eax
add ebp, esi
mov eax, dword [0x101415a4]
xor eax, 0x2aa
movzx esi, bl
movzx eax, ax
mov ecx, esi
mov dword [esp + 0x1c], eax
add ecx, ecx
mov eax, dword [0x10141574]
mov dword [esp + 0x2c], ebp
movzx eax, byte [eax + edi]
cmp eax, dword [ebp + ecx*8]
mov ebp, dword [esp + 0x40]
jge 0x1000532c
inc bl
movzx esi, bl
movzx eax, byte [esi + edi + 0xa]
cmp dword [ebp + esi*8], eax
jb 0x1000535b
mov eax, dword [esp + 0x1c]
movzx eax, ax
cmp eax, dword [0x10141570]
jg 0x1000535b
movzx ecx, byte [edi - 1]
mov eax, dword [esp + 0x20]
pop edi
sub edx, dword [eax + ecx*8]
dec edx
mov dword [eax + ecx*8], edx
mov eax, dword [0x101415a8]
mov eax, dword [eax + esi*4 + 0x18]
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
movzx eax, byte [edi]
dec bl
mov ecx, dword [0x10141578]
xor edx, edx
lea ecx, [ecx + eax*4]
movzx ebx, bl
mov eax, dword [ecx]
mov dword [esp + 0x1c], ebx
lea esi, [ebx*4]
div dword [esi + ebp]
mov eax, dword [esp + 0x24]
sub dl, byte [ecx]
mov ebp, dword [esp + 0x14]
mov byte [eax], dl
mov eax, dword [esp + 0x28]
mov ecx, dword [0x101415b0]
movzx eax, word [eax + 0x2490]
and dword [0x101415b8], eax
mov eax, 0x15cc
cdq
idiv dword [ecx + ebx*8 + 0x2c]
mov ecx, dword [0x10141574]
movzx eax, dx
xor edx, edx
mov dword [esp + 0x24], eax
movzx eax, word [0x101415c4]
xor eax, dword [0x10141598]
mov dword [esp + 0x28], eax
mov ax, word [0x10141580]
inc ax
mov word [0x10141580], ax
movzx ebx, ax
mov eax, dword [esp + 0x2c]
add ebx, dword [esi + eax]
mov eax, dword [esp + 0x50]
movzx esi, word [0x101415b4]
movzx eax, byte [edi + eax]
div dword [esp + 0x18]
mov edi, eax
mov eax, dword [esp + 0x48]
movzx edx, byte [eax + ecx*4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov cl, byte [ecx + eax*2]
mov eax, dword [esp + 0x50]
add cl, byte [eax + ebp]
mov eax, dword [esp + 0x48]
movzx ebp, word [0x101415c4]
push ebp
mov byte [esp + 0x54], cl
movzx ecx, byte [eax + 0x167f]
movzx eax, byte [esp + 0x40]
xor ecx, eax
push ecx
push dword [esp + 0x58]
push edx
push esi
push edi
push dword [0x1014157c]
push dword [esp + 0x34]
push ebp
push ebx
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.10006790
mov ebx, dword [esp + 0x4c]
xor edx, edx
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov word [ecx + ebx*2], ax
mov al, byte [esp + 0x43]
xor al, 0x49
sub al, 0x5f
mov byte [ebx + ebp + 0xe], al
movzx edi, word [ecx + ebx*2]
mov eax, dword [0x10141560]
mov ecx, dword [0x101415a0]
div ecx
xor edi, dword [0x1014158c]
dec ecx
mov byte [esp + 0x6c], al
mov dword [0x101415a0], ecx
movzx eax, byte [ebp]
mov ebp, dword [esp + 0x60]
movzx esi, word [ebp + eax*2]
mov eax, dword [esp + 0x44]
xor esi, ecx
movzx ecx, word [0x10141580]
movzx edx, byte [ebx + eax]
mov eax, dword [0x10141570]
sub edx, 0x3f6
add eax, 0xb6
push eax
push ecx
mov ecx, dword [esp + 0x6c]
push edx
push esi
push 0xe49
push dword [esp + 0x80]
inc ecx
push edi
push 0x19f
push ecx
call fcn.10006d10
mov ecx, dword [0x10141598]
add esp, 0x54
mov word [ebp + ecx*2], ax
mov eax, dword [esp + 0x40]
mov ecx, dword [0x101415b8]
pop edi
pop esi
pop ebp
xor dword [eax + ecx*4], 0x489
mov eax, dword [0x101415a8]
mov eax, dword [eax + ebx*4 + 0x18]
pop ebx
add esp, 0x28
ret