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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov edi, edx
mov ebx, ecx
mov esi, dword [esp + 0xa4]
mov eax, dword [0x4c0018]
xor eax, esp
mov dword [esp + 0x8c], eax
mov ebp, dword [esi]
mov eax, dword [edx]
cmp eax, ebp
cmova ebp, eax
mov eax, dword [ecx]
cmp eax, ebp
cmovb ebp, eax
mov ecx, ebp
add ecx, ebp
mov dword [esp + 0xc], ecx
lea ecx, [ecx + ecx*2]
cmp ecx, dword [esp + 0xa8]
jbe 0x4352e0
push 0x3f7
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.scratch.nw___mp_mul_scratchspace_unary_inlen_
call fcn.0047ca64
add esp, 0xc
mov eax, dword [ebx]
shl eax, 2
push eax
mov dword [esp + 0xc], ebx
push dword [ebx + 4]
call fcn.0042f4b0
add esp, 8
mov ebx, dword [edi]
cmp ebp, 0x18
jb 0x4354f8
test ebx, ebx
je 0x4354f6
mov ecx, dword [esi]
test ecx, ecx
je 0x4354f8
mov eax, ebp
shr eax, 1
mov dword [esp], eax
mov edx, edi
mov edi, ebp
sub edi, eax
cmp ebx, edi
mov esi, edi
cmovb esi, ebx
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
cmp ecx, edi
mov edx, edi
cmovb edx, ecx
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
sub ebx, esi
mov eax, dword [esp]
cmp ebx, eax
cmovae ebx, eax
mov dword [esp + 0x7c], edx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
lea esi, [eax + esi*4]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x74], ebx
sub ecx, edx
mov eax, dword [esp]
cmp ecx, eax
cmovae ecx, eax
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x14]
lea eax, [eax + edx*4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ecx
lea ecx, [edi + edi]
mov edx, dword [esp + 8]
mov eax, dword [edx]
mov esi, edx
cmp eax, ecx
mov dword [esp], ecx
cmovb ecx, eax
cmp eax, edi
mov dword [esp + 4], edi
cmovb edi, eax
mov ebx, eax
sub ebx, edi
cmp ebx, eax
cmovae ebx, eax
mov edx, eax
sub edx, ecx
cmp edx, eax
cmovae edx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ecx
lea edi, [eax + edi*4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], eax
lea eax, [eax + ecx*4]
mov dword [esp + 0x28], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x5c], edx
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x64]
lea edx, [esp + 0x84]
push dword [esp + 0xac]
mov esi, dword [esp + 0xac]
push esi
push eax
call fcn.00435280
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x74]
push dword [esp + 0xac]
push esi
push eax
call fcn.00435280
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp dword [ecx], eax
mov dword [esp + 0xc], ebx
jae 0x4355e4
cmp ebp, ebx
cmovae ebp, ebx
cmp ebp, esi
jbe 0x435478
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
add esp, 0xc
mov ebp, esi
mov eax, esi
sub esi, ebp
cmp esi, eax
cmovae esi, eax
mov ecx, dword [esp + 0xac]
lea eax, [ecx + ebp*4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x54]
lea edx, [esp + 0x84]
mov dword [esp], eax
push eax
push esi
lea eax, [esp + 0x74]
push eax
call fcn.00435280
add esp, 0xc
test ebx, ebx
je 0x4358da
xor ecx, ecx
xor eax, eax
jmp 0x4354e1
xor edx, edx
add ecx, dword [edi + eax*4]
setb dl
add ecx, ebx
adc edx, 0
mov dword [edi + eax*4], ecx
add eax, 1
mov ecx, edx
mov ebx, dword [esp + 0xc]
cmp ebx, eax
je 0x4357f1
mov ebx, 0
cmp ebp, eax
jbe 0x4354c0
mov edx, dword [esp + 0xac]
mov ebx, dword [edx + eax*4]
jmp 0x4354c0
xor ebx, ebx
test ebx, ebx
jle 0x4358f6
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x4358f6
mov edx, dword [edi + 4]
lea ecx, [edx + ebx*4]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
mov edi, dword [esi + 4]
lea ecx, [edi + ecx*4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 4]
lea ebp, [ecx + eax*4]
mov eax, ecx
xor ecx, ecx
cmp edi, dword [esp + 0xc]
mov dword [esp + 4], eax
jae 0x4355a0
mov ebx, eax
cmp eax, ebp
jae 0x4355bc
mov dword [esp + 8], edx
mov eax, dword [edx]
mov dword [esp], eax
add edi, 4
xor esi, esi
mov ebx, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
mul dword [edi - 4]
xor ecx, ecx
add esi, dword [ebx]
setb cl
add esi, eax
adc ecx, edx
mov dword [ebx], esi
add ebx, 4
cmp edi, dword [esp + 0xc]
jae 0x435585
add edi, 4
mov esi, ecx
cmp ebx, ebp
jb 0x435560
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 8]
jmp 0x4355bc
mov ebx, eax
jmp 0x4355bc
xor eax, eax
add dword [ebx], ecx
setb al
add ebx, 4
mov ecx, eax
cmp ebx, ebp
jb 0x4355b0
add edx, 4
cmp edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
jae 0x4358f6
add eax, 4
cmp eax, ebp
jae 0x4358f6
mov edi, dword [esi + 4]
jmp 0x435530
mov eax, dword [esp + 4]
add eax, 1
mov ecx, eax
cmp eax, esi
mov ebp, esi
mov esi, eax
jbe 0x43560e
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
add esp, 0xc
mov ecx, ebp
mov ebx, ebp
sub ebx, ecx
cmp ebx, ebp
cmovae ebx, ebp
mov eax, dword [esp + 0xac]
lea ebp, [eax + ecx*4]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
cmp ebx, esi
mov dword [esp + 0x10], ecx
jae 0x43564e
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov esi, ebx
mov eax, ebx
sub eax, esi
cmp eax, ebx
cmovae eax, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], ebp
test ecx, ecx
je 0x4356c8
xor esi, esi
xor eax, eax
jmp 0x435689
add eax, 1
cmp dword [esp + 0x10], eax
je 0x4356c8
mov edx, 0
cmp dword [esp + 0x2c], eax
jbe 0x43569b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x30], eax
jbe 0x4356aa
mov ecx, dword [esp + 0x1c]
mov ebx, dword [ecx + eax*4]
xor ecx, ecx
add edx, esi
setb cl
add edx, ebx
mov esi, ecx
adc esi, 0
mov ecx, dword [esp + 0xac]
test ecx, ecx
je 0x435680
mov dword [ecx + eax*4], edx
jmp 0x435680
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x43572a
xor esi, esi
xor eax, eax
jmp 0x4356eb
add eax, 1
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x43572a
mov edx, 0
cmp dword [esp + 0x34], eax
jbe 0x4356fd
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x38], eax
jbe 0x43570c
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + eax*4]
xor ecx, ecx
add edx, esi
setb cl
add edx, ebx
mov esi, ecx
adc esi, 0
cmp dword [esp + 0xac], 0
je 0x4356e0
mov dword [ebp + eax*4], edx
jmp 0x4356e0
lea ebx, [ecx*4]
add ebx, ebp
mov ecx, dword [esp]
or ecx, 1
mov esi, dword [esp + 8]
cmp esi, ecx
jae 0x43575a
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
add esp, 0xc
mov ecx, esi
mov dword [esp], ecx
mov eax, esi
sub eax, ecx
cmp eax, esi
cmovae eax, esi
mov ecx, dword [esp]
lea esi, [ebx + ecx*4]
mov ecx, dword [esp]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x4c]
lea ecx, [esp + 0x44]
lea edx, [esp + 0x54]
push esi
mov esi, dword [esp + 4]
push eax
push ebx
call fcn.00435280
add esp, 0xc
test esi, esi
je 0x435891
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
add eax, ecx
mov ecx, dword [esp + 0xac]
lea ebp, [ecx + eax*4]
xor ecx, ecx
mov edx, 1
jmp 0x4357dd
not ebx
xor eax, eax
add edx, dword [ebp + ecx*4]
setb al
add edx, ebx
adc eax, 0
mov dword [ebp + ecx*4], edx
add ecx, 1
mov edx, eax
cmp esi, ecx
je 0x435852
mov ebx, 0
cmp dword [esp + 0x3c], ecx
jbe 0x4357c0
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + ecx*4]
jmp 0x4357c0
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.00435280
add esp, 0xc
xor ecx, ecx
xor eax, eax
jmp 0x43583d
xor edx, edx
add ecx, dword [edi + eax*4]
setb dl
add ecx, esi
adc edx, 0
mov dword [edi + eax*4], ecx
add eax, 1
mov ecx, edx
cmp ebx, eax
je 0x4358f6
mov esi, 0
cmp ebp, eax
jbe 0x435820
mov edx, dword [esp + 0xac]
mov esi, dword [edx + eax*4]
jmp 0x435820
xor ecx, ecx
mov edx, 1
jmp 0x43587d
not ebx
xor eax, eax
add edx, dword [ebp + ecx*4]
setb al
add edx, ebx
adc eax, 0
mov dword [ebp + ecx*4], edx
add ecx, 1
mov edx, eax
cmp esi, ecx
je 0x435891
mov ebx, 0
cmp dword [esp + 0x40], ecx
jbe 0x435860
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + ecx*4]
jmp 0x435860
cmp dword [esp + 0xc], 0
je 0x4358f6
mov ecx, dword [esp + 4]
add ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xac]
lea eax, [eax + ecx*4]
xor edx, edx
xor ecx, ecx
jmp 0x4358cb
xor ebx, ebx
add edx, dword [edi + ecx*4]
setb bl
add edx, esi
adc ebx, 0
mov dword [edi + ecx*4], edx
add ecx, 1
mov edx, ebx
cmp dword [esp + 0xc], ecx
je 0x4358f6
mov esi, 0
cmp dword [esp], ecx
jbe 0x4358b0
mov esi, dword [eax + ecx*4]
jmp 0x4358b0
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.00435280
add esp, 0xc
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0046c560
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret