Function at 0x437220
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 [0x4c2010]
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 0x437280
push 0x3f7
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
push str.scratch.nw___mp_mul_scratchspace_unary_inlen_
call fcn.0047f4a4
add esp, 0xc
mov eax, dword [ebx]
shl eax, 2
push eax
mov dword [esp + 0xc], ebx
push dword [ebx + 4]
call fcn.00432100
add esp, 8
mov ebx, dword [edi]
cmp ebp, 0x18
jb 0x437498
test ebx, ebx
je 0x437496
mov ecx, dword [esi]
test ecx, ecx
je 0x437498
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.00437220
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.00437220
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp dword [ecx], eax
mov dword [esp + 0xc], ebx
jae 0x437584
cmp ebp, ebx
cmovae ebp, ebx
cmp ebp, esi
jbe 0x437418
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047f4a4
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.00437220
add esp, 0xc
test ebx, ebx
je 0x43787a
xor ecx, ecx
xor eax, eax
jmp 0x437481
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 0x437791
mov ebx, 0
cmp ebp, eax
jbe 0x437460
mov edx, dword [esp + 0xac]
mov ebx, dword [edx + eax*4]
jmp 0x437460
xor ebx, ebx
test ebx, ebx
jle 0x437896
mov eax, dword [esp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x437896
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 0x437540
mov ebx, eax
cmp eax, ebp
jae 0x43755c
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 0x437525
add edi, 4
mov esi, ecx
cmp ebx, ebp
jb 0x437500
mov esi, dword [esp + 0xa4]
mov edx, dword [esp + 8]
jmp 0x43755c
mov ebx, eax
jmp 0x43755c
xor eax, eax
add dword [ebx], ecx
setb al
add ebx, 4
mov ecx, eax
cmp ebx, ebp
jb 0x437550
add edx, 4
cmp edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
jae 0x437896
add eax, 4
cmp eax, ebp
jae 0x437896
mov edi, dword [esi + 4]
jmp 0x4374d0
mov eax, dword [esp + 4]
add eax, 1
mov ecx, eax
cmp eax, esi
mov ebp, esi
mov esi, eax
jbe 0x4375ae
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047f4a4
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 0x4375ee
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047f4a4
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 0x437668
xor esi, esi
xor eax, eax
jmp 0x437629
add eax, 1
cmp dword [esp + 0x10], eax
je 0x437668
mov edx, 0
cmp dword [esp + 0x2c], eax
jbe 0x43763b
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x30], eax
jbe 0x43764a
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 0x437620
mov dword [ecx + eax*4], edx
jmp 0x437620
mov ecx, dword [esp + 4]
test ecx, ecx
je 0x4376ca
xor esi, esi
xor eax, eax
jmp 0x43768b
add eax, 1
mov ecx, dword [esp + 4]
cmp ecx, eax
je 0x4376ca
mov edx, 0
cmp dword [esp + 0x34], eax
jbe 0x43769d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4]
xor ebx, ebx
cmp dword [esp + 0x38], eax
jbe 0x4376ac
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 0x437680
mov dword [ebp + eax*4], edx
jmp 0x437680
lea ebx, [ecx*4]
add ebx, ebp
mov ecx, dword [esp]
or ecx, 1
mov esi, dword [esp + 8]
cmp esi, ecx
jae 0x4376fa
push 0x2bb
push str._home_simon_mem_.build_workdirs_bob_0_vdcidh_putty_crypto_mpint.c
push str.len___pool__nw
call fcn.0047f4a4
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.00437220
add esp, 0xc
test esi, esi
je 0x437831
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 0x43777d
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 0x4377f2
mov ebx, 0
cmp dword [esp + 0x3c], ecx
jbe 0x437760
mov eax, dword [esp + 0x24]
mov ebx, dword [eax + ecx*4]
jmp 0x437760
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.00437220
add esp, 0xc
xor ecx, ecx
xor eax, eax
jmp 0x4377dd
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 0x437896
mov esi, 0
cmp ebp, eax
jbe 0x4377c0
mov edx, dword [esp + 0xac]
mov esi, dword [edx + eax*4]
jmp 0x4377c0
xor ecx, ecx
mov edx, 1
jmp 0x43781d
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 0x437831
mov ebx, 0
cmp dword [esp + 0x40], ecx
jbe 0x437800
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + ecx*4]
jmp 0x437800
cmp dword [esp + 0xc], 0
je 0x437896
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 0x43786b
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 0x437896
mov esi, 0
cmp dword [esp], ecx
jbe 0x437850
mov esi, dword [eax + ecx*4]
jmp 0x437850
lea ecx, [esp + 0x54]
lea edx, [esp + 0x74]
push dword [esp]
push esi
lea eax, [esp + 0x84]
push eax
call fcn.00437220
add esp, 0xc
mov ecx, dword [esp + 0x8c]
xor ecx, esp
call fcn.0046efa0
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret