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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x84
mov ecx, dword [esp + 0x98]
mov eax, dword [0x4c0018]
xor eax, esp
mov dword [esp + 0x80], eax
cmp dword [ecx], 0
jne 0x435e02
push 0x50a
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.x__nw___0
call fcn.0047ca64
mov ecx, dword [esp + 0xa4]
add esp, 0xc
mov eax, dword [ecx + 4]
test byte [eax], 1
jne 0x435e21
push 0x50b
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.x__w_0___1
call fcn.0047ca64
add esp, 0xc
mov eax, dword [esp + 0x9c]
test eax, eax
jne 0x435e4a
push 0x50c
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.p___0
call fcn.0047ca64
mov eax, dword [esp + 0xa8]
add esp, 0xc
add eax, 0x1f
shr eax, 5
mov esi, 1
cmovne esi, eax
lea edi, [esi*4]
push edi
push 8
push 1
call fcn.00413470
add esp, 0xc
mov dword [eax], esi
lea ecx, [eax + 8]
mov dword [esp + 0x38], eax
mov dword [eax + 4], ecx
push edi
push ecx
call fcn.0042f4b0
add esp, 8
lea eax, [esi + esi]
cmp esi, eax
cmovbe eax, esi
add eax, eax
lea ebx, [eax + eax*2]
lea eax, [esi + esi*2]
lea edi, [ebx + eax*2]
lea esi, [edi*4]
push esi
push 8
push 1
call fcn.00413470
add esp, 0xc
mov ebp, eax
mov dword [eax], edi
add eax, 8
mov dword [ebp + 4], eax
push esi
push eax
call fcn.0042f4b0
add esp, 8
mov esi, dword [ebp]
mov dword [esp + 0x40], ebp
mov eax, dword [ebp + 4]
mov dword [esp + 0x18], eax
cmp esi, ebx
jae 0x435ee8
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 ebx, esi
mov ecx, esi
mov eax, ebx
mov dword [esp + 0x34], ebx
sub ecx, ebx
cmp ecx, esi
cmovae ecx, esi
mov esi, ecx
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 4]
mov dword [eax], 1
mov ecx, dword [esp + 0x9c]
cmp ecx, 2
jb 0x4365e3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
lea eax, [ecx + eax*4]
mov dword [esp + 0x1c], eax
add eax, 4
mov dword [esp + 0x44], eax
mov ebp, 1
mov dword [esp + 0x48], esi
jmp 0x435f5b
mov ecx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x20]
cmp ebp, ecx
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x48]
jae 0x4365e3
lea ecx, [ebp + 0x1f]
shr ecx, 5
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp esi, ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x20], ebp
jae 0x435f9a
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0xa4]
add esp, 0xc
mov eax, esi
mov dword [esp + 0x10], eax
lea edx, [ebp + 0x1f]
add edx, ebp
shr edx, 5
mov dword [esp + 0x3c], edx
mov ebx, esi
sub ebx, eax
cmp ebx, esi
cmovae ebx, esi
mov dword [esp + 0x78], eax
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0x7c], ebp
mov esi, dword [ecx]
cmp eax, esi
cmovb esi, eax
lea eax, [esi*4]
push eax
push dword [ecx + 4]
push ebp
call fcn.0046ed10
add esp, 0xc
mov eax, dword [esp + 0x10]
sub eax, esi
shl eax, 2
lea ecx, [esi*4]
add ecx, ebp
push eax
push ecx
call fcn.0042f4b0
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add esp, 8
mov esi, ecx
shr esi, 5
cmp esi, edx
jae 0x436042
mov eax, 0xffffffff
shl eax, cl
not eax
mov ecx, dword [esp + 0x1c]
and dword [ecx + esi*4], eax
lea eax, [esi + 1]
cmp eax, edx
jae 0x436042
mov eax, dword [esp + 0x44]
lea eax, [eax + esi*4]
mov ecx, esi
not ecx
add ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.0046f290
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edi]
mov ebp, dword [esp + 0x28]
cmp eax, ebp
cmovae eax, ebp
mov ecx, dword [edi + 4]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x3c]
mov edi, eax
cmp ebx, eax
jae 0x43607f
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_fffbk9my_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047ca64
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov edi, ebx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x1c]
lea eax, [eax + edx*4]
mov esi, ebx
sub esi, edi
cmp esi, ebx
cmovae esi, ebx
mov ebx, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], eax
lea ecx, [esp + 0x68]
lea edx, [esp + 0x78]
push dword [esp + 0x18]
push dword [esp + 0x38]
lea eax, [esp + 0x78]
push eax
call fcn.00435280
add esp, 0xc
mov eax, ebp
cmp esi, ebp
jae 0x4360d9
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 eax, esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xc], ebx
lea ecx, [ebx + edi*4]
mov dword [esp + 4], ecx
mov ecx, esi
sub ecx, eax
cmp ecx, esi
cmovae ecx, esi
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x20]
and ecx, 0x1f
mov dword [esp], ecx
mov ecx, eax
mov dword [esp + 0x30], eax
test eax, eax
mov ecx, dword [esp + 0x98]
je 0x436180
mov ebx, 0x20
sub ebx, dword [esp]
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x30]
jmp 0x43614a
mov ecx, ebx
shl eax, cl
or eax, ebp
mov dword [esi], eax
mov ecx, dword [esp + 0x98]
add esi, 4
add edx, 1
add edi, 0xffffffff
je 0x436180
lea eax, [edx - 1]
xor ebp, ebp
cmp dword [esp + 0x2c], eax
jbe 0x43615d
mov eax, dword [esp + 0xc]
mov ebp, dword [eax + edx*4 - 4]
mov dword [esi], ebp
cmp dword [esp], 0
je 0x43613f
mov ecx, dword [esp]
shr ebp, cl
mov dword [esi], ebp
xor eax, eax
cmp dword [esp + 0x2c], edx
jbe 0x436130
mov eax, dword [esp + 0xc]
mov eax, dword [eax + edx*4]
jmp 0x436130
mov eax, dword [esp + 0x28]
mov edx, eax
mov esi, dword [esp + 8]
cmp esi, eax
jae 0x4361ae
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 + 0xa4]
add esp, 0xc
mov edx, esi
mov eax, esi
sub eax, edx
cmp eax, esi
cmovae eax, esi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 4]
lea eax, [esi + eax*4]
mov dword [esp + 0x60], edx
mov dword [esp + 8], eax
mov dword [esp + 0x64], eax
mov eax, edx
mov dword [esp + 0x24], edx
test edx, edx
mov ebx, dword [esp + 0x18]
je 0x436260
mov eax, 0x20
sub eax, dword [esp]
mov dword [esp + 4], eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x24]
jmp 0x436220
mov ecx, dword [esp + 4]
shl eax, cl
mov ecx, dword [esp + 0x98]
or eax, ebp
mov dword [esi], eax
mov ebx, dword [esp + 0x18]
add esi, 4
add edx, 1
add edi, 0xffffffff
je 0x436260
xor ebp, ebp
cmp dword [ecx], edx
jbe 0x43622c
mov eax, dword [ecx + 4]
mov ebp, dword [eax + edx*4]
mov dword [esi], ebp
cmp dword [esp], 0
je 0x436215
mov ecx, dword [esp]
shr ebp, cl
mov dword [esi], ebp
lea ecx, [edx + 1]
xor eax, eax
mov ebx, dword [esp + 0x98]
cmp dword [ebx], ecx
mov ecx, dword [esp + 0x98]
jbe 0x436200
mov eax, dword [ecx + 4]
mov eax, dword [eax + edx*4 + 4]
jmp 0x436200
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
cmp esi, edx
jae 0x4362a5
mov eax, 0xffffffff
mov ecx, dword [esp]
shl eax, cl
not eax
mov ecx, dword [esp + 8]
and dword [ecx + esi*4], eax
lea eax, [esi + 1]
cmp eax, edx
jae 0x4362a5
mov eax, dword [esp + 8]
lea eax, [eax + esi*4]
add eax, 4
mov ecx, esi
not ecx
add ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.0046f290
add esp, 0xc
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
mov ebp, eax
cmovb ebp, ecx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x58], ebp
lea ecx, [esp + 0x58]
lea edx, [esp + 0x70]
push ebx
mov edi, dword [esp + 0x38]
push edi
lea eax, [esp + 0x68]
push eax
call fcn.00435280
add esp, 0xc
test ebp, ebp
je 0x4363fd
mov ecx, ebp
mov eax, dword [esp + 0x2c]
lea eax, [esi + eax*4]
xor ebp, ebp
xor edx, edx
mov dword [esp + 4], ecx
jmp 0x43630b
add edx, 1
mov ecx, dword [esp + 4]
cmp ecx, edx
je 0x436340
mov esi, 0
cmp dword [esp + 0x30], edx
jbe 0x436319
mov esi, dword [eax + edx*4]
xor ecx, ecx
mov ebx, dword [esp + 0xc]
add ebp, dword [ebx + edx*4]
setb cl
mov edi, ebp
add edi, esi
mov ebp, ecx
adc ebp, 0
cmp dword [esp + 0x18], 0
je 0x436300
mov dword [ebx + edx*4], edi
jmp 0x436300
cmp ecx, 1
jne 0x436370
xor eax, eax
mov ecx, 1
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
mov ebx, dword [esp + 0x18]
test byte [esp + 4], 1
jne 0x4363ef
jmp 0x4363fd
mov ebp, ecx
and ebp, 0x7fffffe
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
lea esi, [eax + ecx*4]
add esi, 4
xor eax, eax
mov ecx, 1
mov ebx, dword [esp + 0x18]
jmp 0x4363ab
mov cl, dl
add eax, 2
mov edx, ebp
cmp ebp, eax
je 0x4363e0
mov edi, dword [esi + eax*4 - 4]
not edi
xor edx, edx
add edi, ecx
setb cl
test ebx, ebx
je 0x4363c0
mov dword [esi + eax*4 - 4], edi
mov dl, cl
mov edi, dword [esi + eax*4]
not edi
xor ecx, ecx
add edi, edx
setb dl
test ebx, ebx
je 0x4363a0
mov dword [esi + eax*4], edi
jmp 0x4363a0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0xc]
test byte [esp + 4], 1
je 0x4363fd
test ebx, ebx
je 0x4363fd
mov edx, dword [esi + eax*4]
not edx
add ecx, edx
mov dword [esi + eax*4], ecx
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x4c]
cmp esi, ebp
jae 0x436422
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, dword [esp + 0x24]
mov ecx, dword [esp + 8]
lea esi, [ecx + eax*4]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], esi
lea ecx, [esp + 0x50]
lea edx, [esp + 0x70]
push ebx
push edi
lea eax, [esp + 0x60]
push eax
call fcn.00435280
add esp, 0xc
mov edx, dword [esp + 0x14]
cmp edx, ebp
mov ebx, ebp
jae 0x436487
mov eax, 0xffffffff
mov ecx, dword [esp]
shl eax, cl
not eax
and dword [esi + edx*4], eax
lea eax, [edx + 1]
cmp eax, ebx
jae 0x436487
lea eax, [esi + edx*4]
add eax, 4
mov ecx, edx
not ecx
add ecx, ebx
shl ecx, 2
push ecx
push 0
push eax
call fcn.0046f290
add esp, 0xc
cmp dword [esp + 0x30], 0
je 0x436550
mov eax, 0x20
sub eax, dword [esp]
mov dword [esp + 8], eax
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
add ecx, esi
mov edx, dword [esp + 0x10]
add ecx, edx
mov ebp, dword [esp + 0x30]
lea eax, [ecx + ebp*2]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + eax*4]
add eax, 0xfffffffc
mov dword [esp + 4], eax
lea eax, [ebp - 2]
mov dword [esp + 0x24], eax
mov edi, ebp
neg edi
mov eax, 1
sub eax, ebp
mov dword [esp + 0x28], eax
lea eax, [ebp - 1]
mov dword [esp + 0xc], eax
lea eax, [esi + ebp]
add eax, edx
lea eax, [ecx + eax*4]
add eax, 0xfffffffc
xor esi, esi
jmp 0x436502
mov ecx, dword [esp + 8]
shr ebp, cl
or ebp, edx
mov dword [eax + esi*4], ebp
add esi, 0xffffffff
cmp edi, esi
je 0x436550
mov ecx, dword [esp + 0xc]
add ecx, esi
mov edx, 0
cmp ebx, ecx
jbe 0x436518
mov ecx, dword [esp + 4]
mov edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
cmp dword [esp], 0
je 0x4364fb
mov ecx, dword [esp]
shl edx, cl
mov dword [eax + esi*4], edx
cmp dword [esp + 0x28], esi
je 0x436550
mov ecx, dword [esp + 0x24]
add ecx, esi
xor ebp, ebp
cmp ebx, ecx
jbe 0x4364f0
mov ecx, dword [esp + 4]
mov ebp, dword [ecx + esi*4 - 4]
jmp 0x4364f0
mov eax, dword [esp + 0x20]
add eax, eax
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
sub esi, edx
mov eax, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, edx
cmovb edx, eax
sub eax, edx
cmp eax, esi
cmovae eax, esi
test eax, eax
je 0x435f40
mov ecx, edx
shl edx, 2
mov ecx, dword [esp + 0x38]
add edx, dword [ecx + 4]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x2c]
add edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea ecx, [ecx + edx*4]
xor esi, esi
xor edx, edx
jmp 0x4365d3
xor ebx, ebx
mov ebp, dword [esp + 0x14]
add esi, dword [ebp + edx*4]
setb bl
add esi, edi
adc ebx, 0
mov dword [ebp + edx*4], esi
add edx, 1
mov esi, ebx
cmp eax, edx
je 0x435f40
mov edi, 0
cmp dword [esp + 0x30], edx
jbe 0x4365b0
mov edi, dword [ecx + edx*4]
jmp 0x4365b0
mov eax, ecx
shr eax, 5
cmp eax, dword [edi]
jae 0x436613
mov edx, 0xffffffff
shl edx, cl
not edx
mov ecx, dword [edi + 4]
and dword [ecx + eax*4], edx
nop
nop
nop
nop
nop
add eax, 1
cmp eax, dword [edi]
jae 0x436613
mov ecx, dword [edi + 4]
mov dword [ecx + eax*4], 0
jmp 0x436600
mov esi, dword [esp + 0x40]
mov eax, dword [esi]
shl eax, 2
push eax
push dword [esi + 4]
call fcn.0042f4b0
add esp, 8
push 8
push esi
call fcn.0042f4b0
add esp, 8
push esi
call fcn.00413500
add esp, 4
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.0046c560
mov eax, edi
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret