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

Disassembly:
mov eax, 0x4c
call fcn.1005d3c0
xor eax, eax
mov dword [esp + 0x38], 0
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x38], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
mov edx, dword [ebp]
push edi
xor edi, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0
mov dword [esp + 0x28], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], edi
mov dword [esp + 0x20], edi
cmp edx, dword [eax]
je 0x101189ca
push 0x9b
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
xor eax, eax
pop edi
pop ebp
add esp, 0x4c
ret
push ebx
mov ebx, dword [esp + 0x64]
push esi
mov esi, dword [esp + 0x6c]
test ebx, ebx
jne 0x101189ee
test esi, esi
jne 0x101189ee
push eax
push ebp
call fcn.100d92c0
add esp, 8
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
xor ecx, ecx
test esi, esi
je 0x10118a04
mov eax, dword [esp + 0x70]
mov eax, dword [eax + ecx*4]
cmp edx, dword [eax]
jne 0x10118a5e
inc ecx
cmp ecx, esi
jb 0x101189f4
mov esi, dword [esp + 0x78]
test esi, esi
jne 0x10118a23
call fcn.100e5b20
mov esi, eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x78], esi
test eax, eax
je 0x10118dd9
test ebx, ebx
je 0x10118b17
push ebp
call fcn.100b00b0
mov ecx, eax
add esp, 4
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x10118a83
push 0xb3
push str.cryptoecec_mult.c
push 0x71
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
jmp 0x10118dd9
push 0xa5
push str.cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
xor eax, eax
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov ebx, dword [ebp + 0x60]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x10118b04
cmp dword [ebx + 8], edi
je 0x10118b04
mov eax, dword [ebx + 0x10]
push esi
push dword [eax]
push ecx
push ebp
call fcn.100d8c00
add esp, 0x10
test eax, eax
jne 0x10118b04
mov esi, dword [ebx + 4]
push dword [esp + 0x68]
mov dword [esp + 0x14], esi
call fcn.100d04c0
xor edx, edx
mov ecx, dword [ebx + 0xc]
div esi
mov edi, dword [ebx + 8]
dec ecx
mov esi, 1
add esp, 4
shl esi, cl
mov dword [esp + 0x50], esi
lea edx, [eax + 1]
mov eax, edi
imul eax, esi
cmp dword [ebx + 0x14], eax
je 0x10118afd
push 0xcf
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
jmp 0x10118dd9
cmp edx, edi
cmovbe edi, edx
jmp 0x10118b13
xor eax, eax
mov edi, 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov eax, dword [esp + 0x6c]
add eax, edi
push 0xdd
push str.cryptoecec_mult.c
mov dword [esp + 0x20], eax
lea esi, [eax*4]
push esi
call fcn.100ac710
push 0xde
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x34], eax
call fcn.100ac710
push 0xdf
lea ecx, [esi + 4]
mov dword [esp + 0x3c], eax
push str.cryptoecec_mult.c
push ecx
call fcn.100ac710
push 0xe1
mov ebx, eax
push str.cryptoecec_mult.c
push esi
mov dword [esp + 0x54], ebx
call fcn.100ac710
add esp, 0x30
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x10118b8a
mov dword [ebx], 0
cmp dword [esp + 0x1c], 0
je 0x101193a3
cmp dword [esp + 0x20], 0
je 0x101193a3
test ebx, ebx
je 0x101193a3
test eax, eax
je 0x101193a3
mov eax, dword [esp + 0x2c]
xor ebx, ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x38], 0
lea edx, [eax + ecx]
mov dword [esp + 0x34], edx
test edx, edx
je 0x10118cc4
mov edx, dword [esp + 0x1c]
mov edi, edx
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x74]
sub eax, edx
mov dword [esp + 0x4c], eax
sub esi, edx
mov eax, dword [esp + 0x20]
sub eax, edx
mov dword [esp + 0x74], esi
mov dword [esp + 0x58], eax
cmp ebx, ecx
jae 0x10118bfe
mov eax, dword [esi + edi]
jmp 0x10118c02
mov eax, dword [esp + 0x68]
push eax
call fcn.100d04c0
add esp, 4
cmp eax, 0x7d0
jb 0x10118c19
mov ecx, 6
jmp 0x10118c49
cmp eax, 0x320
jb 0x10118c27
mov ecx, 5
jmp 0x10118c49
cmp eax, 0x12c
jb 0x10118c35
mov ecx, 4
jmp 0x10118c49
cmp eax, 0x46
jb 0x10118c41
mov ecx, 3
jmp 0x10118c49
cmp eax, 0x14
sbb ecx, ecx
add ecx, 2
mov dword [edi], ecx
mov eax, 1
dec ecx
shl eax, cl
add dword [esp + 0x38], eax
mov eax, dword [esp + 0x4c]
mov dword [eax + edi + 4], 0
cmp ebx, dword [esp + 0x6c]
jae 0x10118c6e
mov eax, dword [esi + edi]
jmp 0x10118c72
mov eax, dword [esp + 0x68]
mov esi, dword [esp + 0x58]
add esi, edi
push esi
push dword [edi]
push eax
call fcn.100e7770
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + edi], eax
test eax, eax
je 0x10118dd9
mov eax, dword [esi]
cmp eax, dword [esp + 0x14]
mov esi, dword [esp + 0x74]
cmovbe eax, dword [esp + 0x14]
inc ebx
mov ecx, dword [esp + 0x6c]
add edi, 4
mov dword [esp + 0x14], eax
cmp ebx, dword [esp + 0x34]
jb 0x10118bf5
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
test edi, edi
je 0x10118feb
mov esi, dword [esp + 0x44]
test esi, esi
jne 0x10118cfd
cmp eax, 1
je 0x10118feb
push 0x106
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
jmp 0x10118dd9
mov dword [esp + 0x2c], 0
test eax, eax
je 0x10118d29
push 0x10f
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
jmp 0x10118dd9
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0xc]
mov dword [edx + ecx*4], eax
lea ecx, [esp + 0x2c]
push ecx
push eax
push dword [esp + 0x70]
call fcn.100e7770
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x30], ebx
test ebx, ebx
je 0x10118dd9
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x14]
ja 0x10118d8d
mov edx, dword [esp + 0x6c]
lea eax, [edx + 1]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [eax + edx*4], ebx
mov dword [eax + edx*4 + 4], 0
mov eax, dword [esp + 0x20]
mov dword [eax + edx*4], ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x10]
mov dword [ecx + edx*4], eax
jmp 0x10118feb
mov eax, dword [esp + 0x10]
imul edi, eax
cmp ecx, edi
jae 0x10118ec2
dec eax
xor edx, edx
add eax, ecx
div dword [esp + 0x10]
cmp eax, dword [esi + 8]
jbe 0x10118eb6
push 0x13a
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
push 0x13b
push str.cryptoecec_mult.c
push ebx
call fcn.100ac740
add esp, 0x20
xor ebx, ebx
xor ebp, ebp
push dword [esp + 0x48]
call fcn.100e5950
push dword [esp + 0x44]
call fcn.100d8d50
push 0x1e4
push str.cryptoecec_mult.c
push dword [esp + 0x2c]
call fcn.100ac740
push 0x1e5
push str.cryptoecec_mult.c
push dword [esp + 0x3c]
call fcn.100ac740
mov edi, dword [esp + 0x44]
add esp, 0x20
test edi, edi
je 0x10118e60
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x10118e4d
nop dword [eax + eax]
push 0x1ea
push str.cryptoecec_mult.c
push eax
call fcn.100ac740
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 0xc
test eax, eax
jne 0x10118e30
push 0x1ec
push str.cryptoecec_mult.c
push edi
call fcn.100ac740
add esp, 0xc
test ebx, ebx
je 0x10118e96
mov eax, dword [ebx]
mov esi, ebx
test eax, eax
je 0x10118e83
nop dword [eax]
push eax
call fcn.100d8bc0
mov eax, dword [esi + 4]
lea esi, [esi + 4]
add esp, 4
test eax, eax
jne 0x10118e70
push 0x1f2
push str.cryptoecec_mult.c
push ebx
call fcn.100ac740
add esp, 0xc
push 0x1f4
push str.cryptoecec_mult.c
push dword [esp + 0x30]
call fcn.100ac740
add esp, 0xc
mov eax, ebp
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x4c
ret
mov edx, dword [esp + 0x6c]
add eax, edx
mov dword [esp + 0x18], eax
jmp 0x10118eca
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x44], ebx
mov edi, edx
mov ebx, dword [esi + 0x10]
cmp edx, eax
jae 0x10118fd5
mov ebp, dword [esp + 0x20]
lea esi, [edx*4]
mov edx, dword [esp + 0x24]
add esi, ebp
mov eax, dword [esp + 0x28]
sub edx, ebp
sub eax, ebp
mov dword [esp + 0x4c], edx
mov dword [esp + 0x58], eax
nop dword [eax]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x60]
dec eax
cmp edi, eax
jae 0x10118f23
mov eax, dword [esp + 0x10]
mov dword [esi], eax
cmp ecx, eax
jb 0x10118fa6
sub ecx, eax
mov dword [esp + 0x2c], ecx
jmp 0x10118f25
mov dword [esi], ecx
push 0x156
mov dword [edx + esi + 4], 0
push str.cryptoecec_mult.c
push dword [esi]
call fcn.100ac710
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov dword [ecx + esi], eax
test eax, eax
je 0x10119062
push dword [esi]
push dword [esp + 0x48]
push eax
call fcn.1005ec70
mov eax, dword [esi]
add esp, 0xc
cmp eax, dword [esp + 0x14]
cmovbe eax, dword [esp + 0x14]
cmp dword [ebx], 0
mov ecx, eax
mov dword [esp + 0x14], ecx
je 0x10119037
mov eax, dword [esp + 0x58]
inc edi
mov dword [eax + esi], ebx
add esi, 4
mov eax, dword [esp + 0x50]
lea ebx, [ebx + eax*4]
mov eax, dword [esp + 0x10]
add dword [esp + 0x44], eax
cmp edi, dword [esp + 0x18]
jae 0x10118fd1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
jmp 0x10118f00
push 0x149
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
push 0x14a
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x10118dd1
mov dword [esp + 0x14], ecx
push 0x169
push str.cryptoecec_mult.c
push dword [esp + 0x38]
call fcn.100ac740
add esp, 0xc
mov ebx, dword [esp + 0x38]
push 0x173
push str.cryptoecec_mult.c
lea eax, [ebx*4 + 4]
push eax
call fcn.100ac710
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x1011908d
push 0x175
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
mov ebx, dword [esp + 0x10]
jmp 0x10118ddb
push 0x161
push str.cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.100b9ee0
push 0x162
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x10118dd1
push 0x158
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.100b9ee0
push 0x159
push str.cryptoecec_mult.c
push dword [esp + 0x4c]
jmp 0x10118dd1
mov edi, dword [esp + 0x34]
lea eax, [ecx + ebx*4]
xor edx, edx
mov dword [esp + 0x4c], eax
mov dword [eax], 0
mov esi, ecx
mov dword [esp + 0x50], edx
test edi, edi
je 0x10119111
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
sub eax, ebx
mov dword [esp + 0x58], eax
mov dword [eax + ebx], esi
xor edi, edi
mov ecx, dword [ebx]
mov eax, 1
dec ecx
shl eax, cl
test eax, eax
je 0x101190f9
nop dword [eax + eax]
push ebp
call fcn.100d9060
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1011902e
mov ecx, dword [ebx]
mov eax, 1
dec ecx
inc edi
shl eax, cl
add esi, 4
cmp edi, eax
jb 0x101190d0
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x34]
inc edx
mov eax, dword [esp + 0x58]
add ebx, 4
mov dword [esp + 0x50], edx
cmp edx, edi
jb 0x101190b8
mov eax, dword [esp + 0x4c]
cmp esi, eax
je 0x10119126
push 0x186
push str.cryptoecec_mult.c
push 0x44
jmp 0x1011901f
push ebp
call fcn.100d9060
add esp, 4
mov dword [esp + 0x40], eax
test eax, eax
je 0x1011902e
xor ebx, ebx
test edi, edi
je 0x1011920c
mov ecx, dword [esp + 0x28]
mov edi, ecx
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x1c]
sub eax, ecx
sub esi, ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], esi
nop
cmp ebx, dword [esp + 0x6c]
jae 0x1011916b
push dword [eax + edi]
jmp 0x1011916f
push dword [esp + 0x54]
mov eax, dword [edi]
push dword [eax]
call fcn.100d8c70
add esp, 8
test eax, eax
je 0x1011902e
cmp dword [esi + edi], 1
jbe 0x101191fa
mov eax, dword [edi]
push dword [esp + 0x78]
push dword [eax]
push dword [esp + 0x48]
push ebp
call fcn.100d8ce0
add esp, 0x10
test eax, eax
je 0x1011902e
mov ecx, dword [esp + 0x30]
mov esi, 1
mov eax, esi
mov ecx, dword [ecx + edi]
dec ecx
shl eax, cl
cmp eax, esi
jbe 0x101191f6
nop dword [eax + eax]
push dword [esp + 0x78]
mov eax, dword [edi]
push dword [esp + 0x44]
push dword [eax + esi*4 - 4]
push dword [eax + esi*4]
push ebp
call fcn.100d8b40
add esp, 0x14
test eax, eax
je 0x1011902e
mov eax, dword [esp + 0x30]
inc esi
mov ecx, dword [eax + edi]
mov eax, 1
dec ecx
shl eax, cl
cmp esi, eax
jb 0x101191c0
mov esi, dword [esp + 0x30]
mov eax, dword [esp + 0x70]
inc ebx
add edi, 4
cmp ebx, dword [esp + 0x34]
jb 0x10119160
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x10]
push edi
push ebx
push dword [esp + 0x40]
push ebp
call fcn.100d9320
add esp, 0x10
test eax, eax
je 0x10118ddb
mov ecx, dword [esp + 0x14]
mov ebx, 1
sub ecx, ebx
mov dword [esp + 0x14], ecx
js 0x10119380
jmp 0x10119246
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x64]
test ebx, ebx
jne 0x10119266
push edi
push esi
push esi
push ebp
call fcn.100d8ce0
add esp, 0x10
test eax, eax
je 0x1011902e
mov ecx, dword [esp + 0x14]
xor ebp, ebp
cmp dword [esp + 0x18], ebp
jbe 0x10119355
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub eax, edi
sub edx, edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x44], edx
nop word [eax + eax]
cmp dword [eax + edi], ecx
jbe 0x10119343
mov eax, dword [edi]
mov al, byte [ecx + eax]
movsx ecx, al
test al, al
je 0x1011933b
mov esi, ecx
movzx eax, al
neg esi
cmp eax, 0x80
cmovb esi, ecx
mov ecx, dword [esp + 0x3c]
shr eax, 7
cmp eax, ecx
je 0x101192f6
test ebx, ebx
jne 0x101192eb
push dword [esp + 0x78]
push dword [esp + 0x68]
push dword [esp + 0x68]
call fcn.100d8e60
add esp, 0xc
test eax, eax
je 0x1011902e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
xor eax, eax
test ecx, ecx
sete al
mov dword [esp + 0x3c], eax
mov eax, dword [edx + edi]
sar esi, 1
mov eax, dword [eax + esi*4]
mov esi, dword [esp + 0x64]
test ebx, ebx
je 0x1011931c
push eax
push esi
call fcn.100d8c70
add esp, 8
test eax, eax
je 0x1011902e
xor ebx, ebx
jmp 0x10119337
push dword [esp + 0x78]
push eax
push esi
push esi
push dword [esp + 0x70]
call fcn.100d8b40
add esp, 0x14
test eax, eax
je 0x1011902e
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
inc ebp
add edi, 4
cmp ebp, dword [esp + 0x18]
jb 0x10119290
mov edi, dword [esp + 0x78]
sub ecx, 1
mov dword [esp + 0x14], ecx
jns 0x10119242
test ebx, ebx
jne 0x1011937c
cmp dword [esp + 0x3c], ebx
je 0x10119395
push edi
push esi
push dword [esp + 0x68]
call fcn.100d8e60
add esp, 0xc
jmp 0x1011938d
mov ebp, dword [esp + 0x60]
push dword [esp + 0x64]
push ebp
call fcn.100d92c0
add esp, 8
test eax, eax
je 0x1011902e
mov ebx, dword [esp + 0x10]
mov ebp, 1
jmp 0x10118ddd
push 0xe8
push str.cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.100b9ee0
add esp, 0x14
jmp 0x10118dd9