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

Disassembly:
mov edx, dword [0x4f1208]
mov esi, dword [0x4f1210]
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov dword [esp + 0x2c], edx
mov edi, dword [ebx + esi*8 + 0x78]
mov edx, dword [edi + eax + 0x20]
mov ebx, dword [edi + eax + 0x1c]
sbb al, 3
ror byte [ebx + 0x3240774], 1
fmul dword [ebx + 0x318077c]
invalid
test edi, edi
jbe 0x4053dd
mov dword [esp + 0x24], edi
xor eax, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ecx
mov ebx, dword [esp + 0x34]
add ebx, dword [edx + eax*4]
cmp byte [ebx], 0
je 0x4053c6
xor ecx, ecx
inc ecx
lea esi, [ecx + ecx]
cmp byte [ebx + esi - 1], 0
jl 0x40538d
inc dword [eax]
lea edi, [ecx + ecx - 1]
je 0x40536a
mov edi, esi
mov dword [esp + 0x18], edi
cmp dword [esp + 0x18], 0
jbe 0x4053c6
xor ecx, ecx
shr edi, 1
je 0x405676
mov dword [esp], eax
xor esi, esi
mov dword [esp + 8], edx
mov eax, dword [esp + 0x2c]
lea esi, [edi - 1]
cmp esi, dword [esp + 0x18]
jae 0x4053c8
imul ecx, dword [esp + 0x2c]
movzx ebx, byte [ebx + edi - 1]
add ecx, ebx
jmp 0x4053c8
xor ecx, ecx
cmp ecx, dword [esp + 0x28]
je 0x4056c8
inc eax
cmp eax, dword [esp + 0x24]
jb 0x405345
mov dword [esp], 0
push 1
call dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ebx, dword [0x4f1208]
movsx eax, byte [edx]
add edx, eax
mov dword [esp + 0x14], edx
cmp byte [edx + 1], 0
je 0x405470
mov esi, edx
xor eax, eax
inc eax
lea edx, [eax + eax]
cmp byte [edx + esi], 0
lea ecx, [eax + eax - 1]
je 0x40541e
mov ecx, edx
cmp byte [esi + edx + 1], 0
jne 0x405407
mov dword [esp + 8], ecx
cmp dword [esp + 8], 0
jbe 0x405470
mov eax, ecx
xor ecx, ecx
shr eax, 1
je 0x405680
mov edx, dword [esp + 0x14]
xor esi, esi
imul ecx, ebx
movzx edi, byte [edx + esi*2 + 1]
add ecx, edi
imul ecx, ebx
movzx edi, byte [edx + esi*2 + 2]
inc esi
add ecx, edi
cmp esi, eax
jb 0x40543b
lea eax, [edx - 1]
cmp eax, dword [esp + 8]
jae 0x405472
imul ebx, ecx
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + edx]
add ecx, ebx
jmp 0x405472
xor ecx, ecx
mov eax, dword [esp + 0x34]
mov edx, dword [0x4f1208]
mov esi, dword [0x4f1210]
mov ebx, dword [eax + 0x3c]
add ebx, eax
mov dword [esp + 0x30], edx
mov edi, dword [ebx + esi*8 + 0x78]
mov edx, dword [edi + eax + 0x20]
mov ebx, dword [edi + eax + 0x1c]
add edx, eax
mov esi, dword [edi + eax + 0x24]
add ebx, eax
mov edi, dword [edi + eax + 0x18]
add esi, eax
test edi, edi
jbe 0x405559
mov dword [esp + 0x28], edi
xor eax, eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 0x34]
add ebx, dword [edx + eax*4]
cmp byte [ebx], 0
je 0x405542
xor ecx, ecx
inc ecx
lea esi, [ecx + ecx]
cmp byte [ebx + esi - 1], 0
lea edi, [ecx + ecx - 1]
je 0x4054e4
mov edi, esi
cmp byte [ebx + esi], 0
jne 0x4054cd
mov dword [esp + 0x1c], edi
cmp dword [esp + 0x1c], 0
jbe 0x405542
xor ecx, ecx
shr edi, 1
je 0x40568a
mov dword [esp + 8], eax
xor esi, esi
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x30]
imul ecx, eax
movzx edx, byte [ebx + esi*2]
add ecx, edx
imul ecx, eax
movzx edx, byte [ebx + esi*2 + 1]
inc esi
add ecx, edx
cmp esi, edi
jb 0x405507
mov eax, dword [esp + 8]
lea edi, [esi + esi + 1]
mov edx, dword [esp + 0x18]
lea esi, [edi - 1]
cmp esi, dword [esp + 0x1c]
jae fcn.00405544
imul ecx, dword [esp + 0x30]
movzx ebx, byte [ebx + edi - 1]
add ecx, ebx
jmp fcn.00405544
xor ecx, ecx
mov dword [esp + 0x34], 0
push 2
call dword [esp + 8]
mov edx, dword [esp + 0x14]
movsx ecx, byte [edx]
lea ebx, [edx + ecx + 1]
lea eax, [edx + ecx]
mov dword [esp + 8], eax
push ebx
call dword [esp + 4]
mov edx, eax
test edx, edx
je 0x405694
mov edi, dword [esp + 8]
lea eax, [esp + 0x14]
mov ebx, dword [0x4f1220]
mov ecx, dword [0x4f11e4]
movsx esi, byte [edi]
add edi, esi
add ebx, edi
mov dword [eax + 4], ebx
mov ebx, dword [edx + 0x3c]
mov esi, dword [edi + 4]
mov edi, dword [edi + 8]
mov ebx, dword [ebx + edx + 0x2c]
mov dword [eax], 0
add ebx, edx
push eax
push ecx
push edi
push ebx
call dword [esp + 0x44]
push edi
mov ecx, ebx
mov edx, dword [esp + 0x1c]
call fcn.00405774
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push edi
push ebx
call dword [esp + 0x44]
mov eax, dword [0x4f1218]
xor edx, edx
cmp byte [eax], 0
je 0x405609
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4f1218]
movsx ecx, byte [ecx + edx]
mov word [eax + edx*2], cx
inc edx
mov ecx, dword [0x4f1218]
cmp byte [ecx + edx], 0
jne 0x4055ee
mov ecx, dword [esp + 0x10]
add esi, ebx
xor eax, eax
lea ebx, [esp]
mov word [ecx + edx*2], ax
mov edx, dword [ebx + 0x18]
add edx, edi
mov dword [ebx + 4], ecx
mov dword [ebx], edx
mov byte [ebx + 8], 1
push ebx
call esi
add esp, 0x48
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, 1
jmp 0x4053af
mov edx, 1
jmp 0x405458
mov edi, 1
jmp 0x40552b
push 2
mov dword [esp + 4], edx
call dword [esp + 8]
mov edx, dword [esp]
jmp 0x405588
mov esi, dword [esp + 0x20]
movzx eax, word [esi + eax*2]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
add edx, dword [ebx + eax*4]
mov dword [esp], edx
je 0x4053e4
jmp 0x4053ea