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

Disassembly:
sub esp, 0x24
movzx eax, byte [0x4f4b78]
xor edx, edx
add eax, eax
push ebx
mov ebx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov eax, dword [ebx + eax*8 + 0x68]
mov ebp, 0x1390
div dword [0x4f4b7c]
mov eax, 0x17bd
mov edi, dword [esp + 0x3c]
mov byte [esp + 0x13], dl
xor edx, edx
div dword [ebx + 0x3234]
mov ecx, dword [ebx]
sub ebp, dword [0x4f4ba8]
add ecx, ecx
mov dword [esp + 0x20], eax
mov eax, dword [0x4f4b90]
mov dword [esp + 0x24], eax
mov eax, dword [edi]
mov dword [esp + 0x14], ebp
mov edx, dword [edi + eax*4]
or edx, dword [edi + ecx*8]
inc eax
mov dword [edi], eax
movzx ecx, byte [0x4f4b78]
mov dword [esp + 0x30], edx
mov eax, dword [ebx + eax*4]
mov edx, dword [ebx]
sub eax, dword [ebx + ecx*4 + 0x40]
mov dword [esp + 0x1c], eax
movzx eax, word [0x4f4b88]
mov esi, dword [ebx + edx*4 + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [0x4f4bb8]
mov dword [esp + 0x28], eax
mov eax, dword [edi + eax*4 + 8]
mov dword [esp + 0x18], eax
movzx eax, word [0x4f4b8c]
xor esi, eax
mov eax, dword [ebx + ecx*4]
imul eax, dword [0x4f4b90]
mov dword [esp + 0x2c], esi
cmp dword [0x4f4bc0], eax
jb 0x403fef
mov eax, dword [ebx + edx*4]
xor edx, edx
or eax, dword [0x4f4b9c]
movzx ecx, byte [0x4f4b79]
div ecx
mov eax, dword [esp + 0x20]
mov byte [0x4f4b79], dl
xor edx, edx
mov ecx, dword [ebp]
movzx esi, word [eax + ecx*2 + 6]
mov eax, dword [0x4f4ba0]
movzx eax, byte [eax + ecx*4]
div esi
mov ecx, dword [ebx]
mov esi, dword [esp + 0x28]
add ecx, ecx
and eax, dword [edi + ecx*8]
mov ecx, dword [esp + 0x3c]
cdq
movzx ecx, byte [esi + ecx]
idiv ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov byte [esi + eax], dl
xor edx, edx
mov eax, dword [0x4f4bb4]
mov esi, dword [esp + 0x3c]
mov eax, dword [ecx + eax*4]
xor eax, dword [0x4f4bc0]
div dword [0x4f4b90]
mov cl, byte [0x4f4b79]
movzx edx, word [0x4f4b94]
xor cl, al
mov eax, dword [0x4f4b9c]
mov byte [0x4f4b79], cl
xor edx, dword [ebx + eax*4]
dec eax
mov dword [0x4f4b9c], eax
inc cl
mov byte [0x4f4b79], cl
inc dword [edi]
mov ecx, dword [edi]
movzx eax, byte [0x4f4b79]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x24]
movzx edx, word [edx + eax*4]
movzx eax, byte [ecx + esi]
mov ecx, dword [esp + 0x2c]
xor edx, eax
mov eax, dword [ebp]
mov ecx, dword [ecx + eax*4 + 0x48]
lea ebp, [eax + 1]
and ecx, dword [edi + 0x7348]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [0x16cd]
or ecx, 0x17c7
mov dword [eax], ebp
mov al, byte [edi + ebp*4]
mov byte [esp + 0x3c], al
movzx eax, byte [0x4f4b78]
mov dword [esp + 0x38], ecx
mov ecx, dword [ebx]
or ax, word [ecx*4 + 0xa6c]
mov ecx, dword [0x4f4bb8]
sub ecx, dword [0x4f4b9c]
movzx ebx, ax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + ebp*4]
mov eax, dword [0x4f4bb4]
xor edi, 0x1309
movzx esi, byte [eax + esi]
movzx eax, byte [0x4f4b78]
xor esi, eax
mov eax, dword [0x4f4bac]
movzx eax, word [eax + ebp*4]
imul eax, eax, 0x1e0a
push eax
push ecx
push esi
push edi
push ebx
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x48]
push edx
push dword [esp + 0x44]
call fcn.004041f1
mov ecx, dword [esp + 0x3c]
add esp, 0x28
mov ecx, dword [ecx]
mov dword [ecx*8 + 0xa6c], eax
jmp 0x4041e4
movzx eax, word [0x4f4b8c]
mov edx, dword [ebp]
add eax, eax
mov ecx, dword [edi + eax*8]
sub ecx, dword [0x4f4b98]
mov eax, dword [esp + 0x1c]
movzx eax, byte [edx + eax]
imul ecx, eax
mov eax, dword [esp + 0x18]
xor ecx, dword [eax + 0xe88]
and dword [esi + edx*4], ecx
xor edx, edx
mov ecx, dword [ebp]
add ebp, 4
mov eax, dword [ebx + 0x3164]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x14], ebp
sub eax, dword [edi + ecx*4]
movzx ecx, byte [0x4f4b78]
div ecx
mov byte [0x4f4b78], al
mov ecx, dword [ebx]
mov ax, word [0x4f4b80]
xor word [esi + ecx*2], ax
mov eax, dword [edi]
sub edi, 4
mov ecx, dword [0x4f4b70]
add eax, 2
imul edx, eax, 0xc
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], edi
movzx eax, byte [eax + 0xcdf]
or eax, dword [0x4f4b90]
imul eax, dword [edx + ecx]
mov dword [edx + ecx], eax
mov eax, dword [ebp]
xor dword [eax*8 + 0xe79], 0xdd8
dec dword [edi]
mov eax, dword [ebp]
mov ecx, dword [edi]
movzx eax, word [esi + eax*4]
cdq
idiv dword [ecx*4 + 0xe31]
mov dword [ecx*4 + 0xe31], edx
mov ecx, 0xffff
mov eax, dword [0x4f4bb4]
movzx edi, byte [0x4f4b79]
add eax, eax
mov edx, dword [esp + 0x3c]
mov ebp, dword [ebx + eax*8]
mov eax, dword [esp + 0x18]
sub ebp, dword [eax + 0x34]
mov eax, edi
add eax, eax
mov dword [esp + 0x2c], ebp
mov ebx, dword [edx + eax*8 + 0x38]
mov ax, word [0x4f4b8c]
add ax, cx
mov ecx, dword [esp + 0x1c]
mov word [0x4f4b8c], ax
movzx esi, ax
mov eax, dword [edx]
add esi, dword [edx + 0x4a30]
sub edx, 4
mov dword [esp + 0x3c], edx
mov al, byte [eax + ecx]
mov ecx, dword [0x4f4b9c]
xor al, cl
mov byte [esp + 0x30], al
dec ecx
mov ax, word [0x4f4b88]
inc ax
mov dword [0x4f4b9c], ecx
mov ecx, dword [esp + 0x3c]
mov word [0x4f4b88], ax
movzx eax, ax
cdq
idiv dword [ecx + 0x552c]
mov eax, dword [esp + 0x20]
movzx edx, dx
movzx eax, word [eax + 0x28b2]
mov ebp, dword [esp + 0x24]
sub edi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax*4 + 0xe31]
mov eax, dword [esp + 0x3c]
add ecx, 0x1bad
mov eax, dword [eax]
movzx eax, word [ebp + eax*4]
or eax, dword [0x4f4b80]
mov ebp, dword [esp + 0x2c]
push eax
push ecx
push dword [0x4088]
push edi
push edx
push dword [esp + 0x44]
push esi
push ebx
push ebp
push 0xa6d051
call fcn.004041f1
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
push 0x1fe
mov ecx, dword [ecx]
push 0x7b9
mov dword [ebx + ecx*4 + 0x78], eax
mov edx, dword [ebp]
mov eax, dword [0x4f4b9c]
mov edi, dword [ebx + edx*4 + 0x18]
xor edi, dword [ebx + eax*8 + 8]
mov eax, dword [ebx]
mov esi, dword [ebx + eax*4 + 0x6c]
mov eax, dword [esp + 0x44]
xor esi, 0x14ec
mov eax, dword [eax]
mov ecx, dword [ebp + eax*4 + 0x10]
lea eax, [edx - 1]
push ecx
push 0x38f
push esi
mov dword [ebp], eax
movzx eax, byte [esp + 0x4f]
push edi
push eax
call fcn.004044e4
add esp, 0x44
imul ecx, dword [ebp], 0xc
mov dword [ecx + ebx], eax
mov eax, dword [0x4f4ba8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret