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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov ecx, dword [ebp + 0x14]
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x425da0
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
mov dword fs:[0], eax
cmp dword [ebp + 8], 4
setg al
test ecx, ecx
setne dl
and dl, al
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x48], eax
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0xc]
mov byte [esi + 0x2b], dl
cmp dl, 1
jne 0x4253d2
lea eax, [ecx - 1]
mov dword [esi + 0x24], eax
xor edx, edx
mov eax, dword [ebp + 0x20]
mov dword [esi], eax
mov eax, dword [ebp + 0x1c]
jmp 0x425202
mov dword [esi + 0x88], 0xffffffff
movsx eax, bl
mov edi, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004083b0
mov ecx, edi
call fcn.00407670
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x200
mov dword [edi + eax + 0x14], ecx
push 0
push 0
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x20
mov edx, dword [esi + 4]
add edx, 1
mov ebx, dword [ebp + 0x18]
mov eax, dword [esi + 8]
add eax, ebx
mov ecx, dword [ebp + 0x14]
add dword [esi], ecx
cmp edx, ecx
je 0x4253d2
mov dword [esi + 8], eax
cmp edx, dword [esi + 0x24]
mov eax, 0x4f6c4f
mov ecx, 0x4f728b
cmove eax, ecx
mov dword [esi + 4], edx
test edx, edx
mov ecx, 0x4f73df
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
test ebx, ebx
je 0x4252b4
xor ebx, ebx
nop word cs:[eax + eax]
push 0x4f9081
push edi
call fcn.00401560
add esp, 8
mov edi, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x800
mov dword [edi + eax + 0x14], ecx
push 0
push 2
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
mov eax, dword [esi + 8]
movzx eax, byte [eax + ebx]
mov ecx, edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.004019c0
mov eax, dword [ebp + 0x18]
add ebx, 1
cmp eax, ebx
jne 0x425240
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x24]
mov eax, str.__
mov edx, str.____
cmove eax, edx
test ecx, ecx
mov ecx, str.___
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
xor ebx, ebx
nop dword [eax]
push 0x4f9081
push edi
call fcn.00401560
add esp, 8
mov edi, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x800
mov dword [edi + eax + 0x14], ecx
push 0
push 2
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
mov eax, dword [esi]
movzx eax, byte [eax + ebx]
mov ecx, edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.004019c0
add ebx, 1
cmp dword [ebp + 0x14], ebx
jne 0x4252e0
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0x24]
mov eax, str.__
mov edx, 0x4f73de
cmove eax, edx
test ecx, ecx
mov ecx, 0x4f728a
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [edi + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x88], 0
lea eax, [esi + 0x10]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x425180
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x425180
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x425180
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x425810
imul eax, ecx
mov dword [esi + 0x6c], eax
mov eax, ebx
and eax, 0xfffffffe
mov dword [esi + 0x74], eax
mov eax, ecx
neg eax
mov dword [esi + 0x60], eax
lea eax, [ecx + 1]
mov dword [esi + 0x58], eax
mov edx, dword [ebp + 0x1c]
lea eax, [edx + 1]
mov dword [esi + 0x54], eax
mov eax, dword [ebp + 0x20]
lea edi, [eax + 1]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x34], edi
mov dword [esi + 8], eax
mov dword [esi + 0x24], ecx
mov dword [esi], edx
mov dl, 1
mov dword [esi + 0x2c], 0
xor edi, edi
jmp 0x42545b
mov eax, dword [esi + 8]
mov edi, dword [esi + 0xc]
add edi, 1
add dword [esi], ebx
add dword [esi + 0x24], 0xffffffff
add eax, dword [esi + 0x58]
mov dword [esi + 8], eax
add dword [esi + 0x34], ecx
add dword [esi + 0x3c], 1
cmp edi, dword [ebp + 0x24]
setb dl
mov eax, dword [ebp + 0x20]
je 0x425815
mov dword [esi + 0x20], edx
mov edx, edi
imul edx, ecx
mov dword [esi + 0xc], edi
mov ecx, edx
mov dword [esi + 0x70], edx
lea ecx, [edx + edi]
mov dword [esi + 0x44], ecx
movzx eax, byte [eax + ecx]
cmp eax, 1
je 0x425530
test al, al
je 0x425b32
test ebx, ebx
mov ecx, dword [esi]
je 0x4254d0
xor edx, edx
jmp 0x425497
add edx, 1
cmp ebx, edx
je 0x4254d0
movzx edi, byte [ecx + edx]
test edi, edi
je 0x425490
movzx edi, byte [edi + 0x50d628]
movzx ebx, byte [eax + 0x50d628]
sub edi, ebx
lea ebx, [edi + 0xff]
test edi, edi
cmovns ebx, edi
movzx ebx, byte [ebx + 0x50d728]
mov byte [ecx + edx], bl
mov ebx, dword [ebp + 0x18]
jmp 0x425490
mov ecx, dword [ebp + 0x20]
mov edx, dword [esi + 0x44]
mov byte [ecx + edx], 1
mov ecx, dword [esi + 0xc]
lea edx, [ecx + 1]
cmp edx, dword [ebp + 0x14]
jae 0x425530
movzx eax, al
mov edx, 1
jmp 0x4254f8
add edx, 1
cmp dword [esi + 0x24], edx
je 0x425530
mov ecx, dword [esi + 8]
movzx edi, byte [ecx + edx]
test edi, edi
je 0x4254f0
movzx edi, byte [edi + 0x50d628]
movzx ebx, byte [eax + 0x50d628]
sub edi, ebx
lea ebx, [edi + 0xff]
test edi, edi
cmovns ebx, edi
movzx ebx, byte [ebx + 0x50d728]
mov byte [ecx + edx], bl
mov ebx, dword [ebp + 0x18]
jmp 0x4254f0
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x425430
mov eax, dword [esi + 0xc]
sub ecx, eax
mov dword [esi + 0x68], ecx
mov ecx, eax
not ecx
mov dword [esi + 0x64], ecx
mov ecx, eax
imul ecx, ebx
mov dword [esi + 0x5c], ecx
add eax, 1
mov dword [esi + 0x40], eax
mov dword [esi + 4], 0
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x38], eax
jmp 0x4255a6
mov eax, dword [esi + 4]
add eax, 1
mov ebx, dword [ebp + 0x18]
add dword [esi + 0x38], ebx
mov ecx, dword [ebp + 0x14]
add dword [esi + 0x30], ecx
add dword [esi + 0x20], ebx
add dword [esi + 0x4c], ecx
mov dword [esi + 4], eax
cmp eax, ecx
mov eax, dword [esi + 8]
je 0x425433
cmp dword [ebp + 8], 3
jl 0x425650
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 4]
add eax, ecx
imul eax, eax, 0x3e8
xor edx, edx
div dword [esi + 0x6c]
cmp dword [esi + 0x2c], eax
mov edi, dword [esi + 0xc]
je 0x425653
mov ebx, eax
mov dword [esi + 0x88], 0xffffffff
push str.Solving:
push dword [ebp + 0xc]
call fcn.00401560
add esp, 8
mov ecx, eax
mov eax, ebx
mov edx, 0x66666667
imul edx
mov dword [esi + 0x2c], ebx
mov ebx, edx
mov eax, edx
shr eax, 0x1f
sar ebx, 2
add ebx, eax
push ebx
call fcn.00401d30
push 0x2e
push eax
call fcn.0040ece0
add esp, 8
add ebx, ebx
lea ecx, [ebx + ebx*4]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x2c]
mov edx, ebx
sub edx, ecx
mov ecx, eax
push edx
call fcn.00401d30
push 0x4f90c6
push eax
call fcn.00401560
add esp, 8
mov ecx, eax
call fcn.00407670
mov dword [esi + 0x2c], ebx
jmp 0x425653
mov edi, dword [esi + 0xc]
cmp edi, dword [esi + 4]
je 0x425580
mov eax, dword [esi + 4]
imul eax, dword [ebp + 0x14]
add eax, dword [esi + 0xc]
mov ecx, dword [ebp + 0x20]
movzx edx, byte [ecx + eax]
test edx, edx
je 0x425580
cmp dl, 1
jne 0x425722
cmp dword [ebp + 0x18], 0
mov ecx, dword [ebp + 0x1c]
je 0x4256b4
xor edx, edx
cmp dword [ebp + 0x18], 1
jne 0x4257d8
mov ebx, dword [ebp + 0x18]
test bl, 1
je 0x4256b4
mov edi, dword [esi + 0x5c]
lea ebx, [edx + edi]
mov bl, byte [ecx + ebx]
test bl, bl
je 0x4256b4
mov edi, dword [esi + 4]
imul edi, dword [ebp + 0x18]
add edx, edi
xor byte [ecx + edx], bl
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp + 0x14]
jae 0x425580
mov edx, dword [esi + 0xc]
test byte [esi + 0x68], 1
je 0x4256e2
mov ecx, dword [ebp + 0x20]
mov edx, dword [esi + 0x44]
mov bl, byte [ecx + edx]
mov edx, dword [esi + 0x40]
test bl, bl
je 0x4256e2
mov ecx, dword [ebp + 0x20]
xor byte [ecx + eax], bl
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x64]
cmp eax, dword [esi + 0x60]
jne 0x4256fc
jmp 0x425580
add edx, 2
cmp dword [ebp + 0x14], edx
je 0x425580
mov eax, dword [esi + 0x34]
movzx eax, byte [eax + edx - 1]
test al, al
je 0x42570f
mov ecx, dword [esi + 0x30]
xor byte [ecx + edx - 1], al
mov eax, dword [esi + 0x34]
movzx eax, byte [eax + edx]
test al, al
je 0x4256f0
mov ecx, dword [esi + 0x30]
xor byte [ecx + edx], al
jmp 0x4256f0
cmp dword [ebp + 0x18], 0
mov ecx, dword [esi]
je 0x425773
xor eax, eax
jmp 0x425738
add eax, 1
cmp dword [ebp + 0x18], eax
je 0x425773
movzx ebx, byte [ecx + eax]
test ebx, ebx
je 0x425730
movzx edi, byte [ebx + 0x50d628]
movzx ebx, byte [edx + 0x50d628]
lea ecx, [ebx + edi]
add edi, ebx
add edi, 0xffffff01
cmp ecx, 0xfe
cmovbe edi, ecx
movzx ecx, byte [edi + 0x50d728]
mov edi, dword [esi + 0x20]
xor byte [edi + eax], cl
mov ecx, dword [esi]
jmp 0x425730
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp + 0x14]
jae 0x425580
movzx eax, dl
xor edx, edx
jmp 0x42579c
add edx, 1
cmp dword [esi + 0x24], edx
je 0x425580
mov ecx, dword [esi + 8]
movzx ebx, byte [ecx + edx]
test ebx, ebx
je 0x425790
movzx ecx, byte [ebx + 0x50d628]
movzx edi, byte [eax + 0x50d628]
lea ebx, [edi + ecx]
add ecx, edi
add ecx, 0xffffff01
cmp ebx, 0xfe
cmovbe ecx, ebx
movzx ecx, byte [ecx + 0x50d728]
mov edi, dword [esi + 0x4c]
xor byte [edi + edx], cl
jmp 0x425790
xor edx, edx
jmp 0x4257ec
add edx, 2
cmp dword [esi + 0x74], edx
je 0x425693
mov edi, dword [esi]
movzx ebx, byte [edi + edx]
test bl, bl
je 0x4257fd
mov edi, dword [esi + 0x38]
xor byte [edi + edx - 1], bl
mov edi, dword [esi]
movzx ebx, byte [edi + edx + 1]
test bl, bl
je 0x4257e0
mov edi, dword [esi + 0x38]
xor byte [edi + edx], bl
jmp 0x4257e0
xor edx, edx
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 8], 3
mov dword [esi + 0x20], edx
jl 0x4258b5
mov dword [esi + 0x88], 0xffffffff
push str.Solving:_done.
push dword [ebp + 0xc]
call fcn.00401560
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [esi], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x88], 2
lea eax, [esi + 0x10]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x42588b
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x42588b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [esi + 0x88], 0xffffffff
movsx eax, bl
mov edi, dword [esi]
mov ecx, edi
push eax
call fcn.004083b0
mov ecx, edi
call fcn.00407670
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x18]
mov edx, dword [esi + 0x20]
cmp byte [esi + 0x2b], 0
mov edi, dword [ebp + 0xc]
je 0x425bbc
add ecx, 0xffffffff
mov dword [esi + 4], ecx
mov dword [esi + 0x88], 0xffffffff
xor edx, edx
jmp 0x425962
mov dword [esi + 0x88], 0xffffffff
movsx eax, bl
mov edi, dword [ebp + 0xc]
mov ecx, edi
push eax
call fcn.004083b0
mov ecx, edi
call fcn.00407670
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x200
mov dword [edi + eax + 0x14], ecx
push 0
push 0
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x20
mov edx, dword [esi + 8]
add edx, 1
mov ebx, dword [ebp + 0x18]
add dword [esi + 0x48], ebx
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
add eax, ecx
cmp edx, ecx
je 0x425bb9
mov dword [esi], eax
cmp edx, dword [esi + 4]
mov eax, 0x4f6c4f
mov ecx, 0x4f728b
cmove eax, ecx
mov dword [esi + 8], edx
test edx, edx
mov ecx, 0x4f73df
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
test ebx, ebx
je 0x425a14
xor ebx, ebx
nop word cs:[eax + eax]
nop
push 0x4f9081
push edi
call fcn.00401560
add esp, 8
mov edi, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x800
mov dword [edi + eax + 0x14], ecx
push 0
push 2
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
mov eax, dword [esi + 0x48]
movzx eax, byte [eax + ebx]
mov ecx, edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.004019c0
mov eax, dword [ebp + 0x18]
add ebx, 1
cmp eax, ebx
jne 0x4259a0
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
mov eax, str.__
mov edx, str.____
cmove eax, edx
test ecx, ecx
mov ecx, str.___
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
xor ebx, ebx
nop dword [eax]
push 0x4f9081
push edi
call fcn.00401560
add esp, 8
mov edi, eax
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [edi + eax + 0x14]
mov edx, 0xfffff1ff
and ecx, edx
or ecx, 0x800
mov dword [edi + eax + 0x14], ecx
push 0
push 2
lea eax, [esi + 0x10]
push eax
call fcn.004ae5ca
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
add eax, edi
push dword [esi + 0x1c]
push dword [esi + 0x18]
push eax
call dword [esi + 0x10]
add esp, 0xc
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov byte [edi + eax + 0x40], 0x30
mov eax, dword [esi]
movzx eax, byte [eax + ebx]
mov ecx, edi
mov edi, dword [ebp + 0xc]
push eax
call fcn.004019c0
add ebx, 1
cmp dword [ebp + 0x14], ebx
jne 0x425a40
mov ecx, dword [esi + 8]
cmp ecx, dword [esi + 4]
mov eax, str.__
mov edx, 0x4f73de
cmove eax, edx
test ecx, ecx
mov ecx, 0x4f728a
cmove eax, ecx
push eax
push edi
call fcn.00401560
add esp, 8
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov eax, dword [edi + eax + 0x30]
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x88], 3
lea eax, [esi + 0x10]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4258e0
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4258e0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x4258e0
mov dword [esi + 0x88], 0xffffffff
push str.RS_computation_error.
push dword [ebp + 0x10]
call fcn.00401560
add esp, 8
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
mov dword [esi], eax
mov eax, dword [eax + ecx + 0x30]
mov ecx, dword [eax + 4]
mov dword [esi + 0x14], ecx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [esi + 0x88], 1
lea eax, [esi + 0x10]
push eax
call fcn.004086b0
add esp, 4
mov edx, dword [eax]
mov ecx, eax
push 0xa
call dword [edx + 0x20]
mov ebx, eax
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x425b9b
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x425b9b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov dword [esi + 0x88], 0xffffffff
movsx eax, bl
mov edi, dword [esi]
mov ecx, edi
push eax
call fcn.004083b0
mov ecx, edi
call fcn.00407670
mov edx, dword [esi + 0x20]
not dl
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
and dl, 1
mov eax, edx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x20