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

Disassembly:
mov eax, 0x54
call fcn.10033d60
mov ecx, dword [esp + 0x5c]
push ebx
push ebp
mov ebp, dword [esp + 0x60]
mov edx, dword [ecx]
push esi
mov eax, dword [ebp]
xor esi, esi
cmp eax, edx
push edi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x5c], esi
je 0x1004a1bb
push 0x174
jmp 0x1004a24d
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x74]
cmp edx, esi
jne 0x1004a1dd
cmp ebx, esi
jne 0x1004a1dd
push ecx
push ebp
call fcn.1003c8a0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
xor ecx, ecx
cmp ebx, esi
jbe 0x1004a1f5
mov edx, dword [esp + 0x78]
mov edi, dword [edx]
cmp eax, dword [edi]
jne 0x1004a248
inc ecx
add edx, 4
cmp ecx, ebx
jb 0x1004a1e7
mov edi, dword [esp + 0x80]
cmp edi, esi
jne 0x1004a21a
call fcn.1001d8f0
mov edi, eax
cmp eax, esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x80], edi
je 0x1004ab78
cmp dword [esp + 0x70], esi
je 0x1004a31d
push ebp
call fcn.1003bfa0
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x54], esi
jne 0x1004a26d
push 0x192
push str..cryptoecec_mult.c
push 0x71
jmp 0x1004aabc
push 0x181
push str..cryptoecec_mult.c
push 0x65
push 0xbb
push 0x10
call fcn.1000c430
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [ebp + 0x44]
push 0x1004ac10
push 0x1004abb0
push 0x1004ab90
push eax
call fcn.1003c500
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x1004a308
mov ecx, eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x1004a308
mov edx, ecx
push edi
mov eax, dword [edx + 0x10]
mov ecx, dword [eax]
push ecx
push esi
push ebp
call fcn.1003ced0
add esp, 0x10
test eax, eax
jne 0x1004a308
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
push edx
mov edi, dword [esi + 4]
mov dword [esp + 0x3c], edi
call fcn.1001a140
xor edx, edx
add esp, 4
div edi
mov ecx, eax
mov eax, dword [esi + 8]
inc ecx
cmp ecx, eax
mov dword [esp + 0x24], ecx
jbe 0x1004a2de
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0xc]
mov edx, 1
dec ecx
shl edx, cl
mov ecx, dword [esi + 0x14]
imul eax, edx
cmp ecx, eax
mov dword [esp + 0x50], edx
je 0x1004a31d
push 0x1ab
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
mov eax, 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x24]
push 0x1ba
push str..cryptoecec_mult.c
lea edi, [eax + ebx]
mov dword [esp + 0x24], edi
lea esi, [edi*4]
push esi
call fcn.1000b420
push 0x1bb
mov ebp, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x48], ebp
call fcn.1000b420
push 0x1bc
lea ecx, [edi*4 + 4]
push str..cryptoecec_mult.c
push ecx
mov dword [esp + 0x44], eax
call fcn.1000b420
push 0x1bd
mov edi, eax
push str..cryptoecec_mult.c
push esi
mov dword [esp + 0x64], edi
call fcn.1000b420
xor edx, edx
add esp, 0x30
cmp ebp, edx
mov dword [esp + 0x18], eax
je 0x1004aab0
cmp dword [esp + 0x20], edx
je 0x1004aab0
cmp edi, edx
je 0x1004aab0
cmp dword [esp + 0x18], edx
je 0x1004aab0
mov ecx, dword [esp + 0x48]
mov dword [edi], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x10], edx
lea eax, [ecx + ebx]
cmp eax, edx
mov dword [esp + 0x2c], eax
jbe 0x1004a4c6
mov eax, dword [esp + 0x7c]
sub edi, ebp
sub eax, ebp
mov esi, ebp
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x20]
sub eax, ebp
mov dword [esp + 0x60], eax
mov ebp, dword [esp + 0x10]
cmp ebp, ebx
jae 0x1004a3fa
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + esi]
push eax
jmp 0x1004a3ff
mov ecx, dword [esp + 0x70]
push ecx
call fcn.1001a140
add esp, 4
cmp eax, 0x7d0
jb 0x1004a415
mov eax, 6
jmp 0x1004a445
cmp eax, 0x320
jb 0x1004a423
mov eax, 5
jmp 0x1004a445
cmp eax, 0x12c
jb 0x1004a431
mov eax, 4
jmp 0x1004a445
cmp eax, 0x46
jb 0x1004a43d
mov eax, 3
jmp 0x1004a445
cmp eax, 0x14
sbb eax, eax
add eax, 2
lea ecx, [eax - 1]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x3c]
mov dword [esi], eax
mov dword [edi + esi + 4], 0
add ecx, edx
cmp ebp, ebx
mov dword [esp + 0x3c], ecx
jae 0x1004a470
mov eax, dword [esp + 0x7c]
mov eax, dword [eax + esi]
jmp 0x1004a474
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x60]
mov edx, dword [esi]
lea ebp, [ecx + esi]
push ebp
push edx
push eax
call fcn.1004ac90
add esp, 0xc
mov dword [edi + esi], eax
test eax, eax
je 0x1004aacb
mov ebp, dword [ebp]
mov eax, dword [esp + 0x28]
cmp ebp, eax
jbe 0x1004a4a2
mov dword [esp + 0x28], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc eax
add esi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1004a3e8
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1004a6a4
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1004a4f4
cmp ecx, 1
je 0x1004a6a4
push 0x1e1
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
test ecx, ecx
mov dword [esp + 0x7c], 0
je 0x1004a511
push 0x1ed
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
mov eax, dword [eax + 0xc]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x7c]
mov dword [ebp + ebx*4], eax
push ecx
push eax
push edx
call fcn.1004ac90
mov ecx, eax
add esp, 0xc
test ecx, ecx
mov dword [esp + 0x70], ecx
je 0x1004aacb
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x28]
cmp esi, eax
ja 0x1004a570
lea eax, [ebx + 1]
mov dword [edi + ebx*4], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [edi + eax*4], 0
mov eax, dword [esp + 0x20]
mov dword [eax + ebx*4], esi
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x10]
mov dword [eax + ebx*4], edx
jmp 0x1004a6a4
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x38]
imul eax, edi
cmp esi, eax
jae 0x1004a5a7
lea eax, [esi + edi - 1]
xor edx, edx
div edi
mov edx, dword [esp + 0x14]
cmp eax, dword [edx + 8]
jbe 0x1004a5a1
push 0x215
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
add eax, ebx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], ebx
mov ebp, dword [eax + 0x10]
mov eax, dword [esp + 0x1c]
cmp ebx, eax
jae 0x1004a69b
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
sub eax, ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x18]
sub eax, ecx
lea ebx, [ecx + ebx*4]
mov dword [esp + 0x24], eax
jmp 0x1004a5e3
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x10]
cmp ecx, eax
jae 0x1004a608
mov eax, dword [esp + 0x38]
cmp esi, eax
mov dword [ebx], eax
jb 0x1004a6d4
sub esi, eax
mov dword [esp + 0x7c], esi
jmp 0x1004a60a
mov dword [ebx], esi
mov esi, dword [esp + 0x60]
push 0x231
push str..cryptoecec_mult.c
mov dword [esi + ebx + 4], 0
mov edx, dword [ebx]
push edx
call fcn.1000b420
add esp, 0xc
mov dword [esi + ebx], eax
test eax, eax
je 0x1004a6e5
mov ecx, dword [ebx]
mov edx, dword [esp + 0x48]
mov edi, eax
mov eax, ecx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jbe 0x1004a65c
mov dword [esp + 0x28], eax
cmp dword [ebp], 0
je 0x1004a712
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov edi, dword [esp + 0x38]
mov dword [ecx + ebx], ebp
mov ecx, dword [esp + 0x1c]
lea ebp, [ebp + eax*4]
mov eax, dword [esp + 0x10]
add edx, edi
inc eax
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x10], eax
jb 0x1004a5df
mov ecx, dword [esp + 0x70]
push ecx
call fcn.1000b6a0
add esp, 4
mov esi, dword [esp + 0x3c]
push 0x24e
push str..cryptoecec_mult.c
lea eax, [esi*4 + 4]
push eax
call fcn.1000b420
add esp, 0xc
mov dword [esp + 0x4c], eax
test eax, eax
jne 0x1004a73f
push 0x251
jmp 0x1004aab5
push 0x226
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
push 0x234
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.1000c430
mov ecx, dword [esp + 0x84]
push ecx
call fcn.1000b6a0
add esp, 0x18
jmp 0x1004aacb
push 0x23e
push str..cryptoecec_mult.c
push 0x44
push 0xbb
push 0x10
call fcn.1000c430
mov edx, dword [esp + 0x84]
push edx
call fcn.1000b6a0
add esp, 0x18
jmp 0x1004aacb
lea ecx, [eax + esi*4]
mov esi, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
test eax, eax
mov dword [ecx], 0
mov dword [esp + 0x10], 0
jbe 0x1004a7bc
mov edi, dword [esp + 0x30]
mov ebp, dword [esp + 0x18]
sub ebp, edi
mov dword [edi + ebp], esi
mov ecx, dword [edi]
xor ebx, ebx
dec ecx
mov edx, 1
shl edx, cl
test edx, edx
jbe 0x1004a7a4
mov eax, dword [esp + 0x68]
push eax
call fcn.1003c5e0
add esp, 4
mov dword [esi], eax
test eax, eax
je 0x1004aacb
mov ecx, dword [edi]
add esi, 4
inc ebx
dec ecx
mov edx, 1
shl edx, cl
cmp ebx, edx
jb 0x1004a77b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1004a768
mov ecx, dword [esp + 0x70]
cmp esi, ecx
je 0x1004a7d1
push 0x264
push str..cryptoecec_mult.c
push 0x44
jmp 0x1004aabc
mov eax, dword [esp + 0x68]
push eax
call fcn.1003c5e0
add esp, 4
mov dword [esp + 0x44], eax
test eax, eax
je 0x1004aacb
mov eax, dword [esp + 0x2c]
xor ebp, ebp
test eax, eax
jbe 0x1004a8d8
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x78]
mov ebx, dword [esp + 0x30]
sub edi, esi
mov dword [esp + 0x70], edi
sub ebx, esi
cmp ebp, dword [esp + 0x74]
jae 0x1004a82d
mov edx, dword [esi]
mov ecx, dword [edi + esi]
push ecx
mov eax, dword [edx]
push eax
call fcn.1003c700
add esp, 8
test eax, eax
je 0x1004aacb
jmp 0x1004a847
mov edx, dword [esi]
mov ecx, dword [esp + 0x54]
push ecx
mov eax, dword [edx]
push eax
call fcn.1003c700
add esp, 8
test eax, eax
je 0x1004aacb
cmp dword [ebx + esi], 1
jbe 0x1004a8c8
mov edx, dword [esi]
mov ecx, dword [esp + 0x80]
push ecx
mov ecx, dword [esp + 0x48]
mov eax, dword [edx]
mov edx, dword [esp + 0x6c]
push eax
push ecx
push edx
call fcn.1003cd40
add esp, 0x10
test eax, eax
je 0x1004aacb
mov ecx, dword [ebx + esi]
mov edi, 1
dec ecx
mov eax, edi
shl eax, cl
cmp eax, edi
jbe 0x1004a8c4
mov ecx, dword [esi]
mov edx, dword [esp + 0x80]
push edx
mov edx, dword [ecx + edi*4 - 4]
lea eax, [ecx + edi*4]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax]
push ecx
mov ecx, dword [esp + 0x70]
push edx
push eax
push ecx
call fcn.1003ccc0
add esp, 0x14
test eax, eax
je 0x1004aacb
mov ecx, dword [ebx + esi]
inc edi
dec ecx
mov edx, 1
shl edx, cl
cmp edi, edx
jb 0x1004a885
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x2c]
inc ebp
add esi, 4
cmp ebp, eax
jb 0x1004a80c
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x6c]
push ecx
push edx
push eax
call fcn.1003cfa0
add esp, 0x10
test eax, eax
je 0x1004aacb
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x70], 1
lea eax, [ecx - 1]
test eax, eax
mov dword [esp + 0x78], eax
jl 0x1004aa60
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x1004a945
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
push edx
push eax
push eax
mov eax, dword [esp + 0x74]
push eax
call fcn.1003cd40
add esp, 0x10
test eax, eax
je 0x1004aacb
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, eax
jbe 0x1004aa49
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ebp, eax
sub ebx, eax
sub ebp, edi
mov ecx, dword [esp + 0x78]
lea eax, [edi + ebp]
cmp dword [eax + ebx], ecx
jbe 0x1004aa31
mov edx, dword [eax]
mov eax, ecx
movsx esi, byte [eax + edx]
test esi, esi
je 0x1004aa31
xor eax, eax
test esi, esi
setl al
test eax, eax
je 0x1004a998
neg esi
cmp eax, dword [esp + 0x40]
je 0x1004a9d7
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x1004a9c8
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
push ecx
push edx
push eax
call fcn.1003cdb0
add esp, 0xc
test eax, eax
je 0x1004aacb
mov eax, dword [esp + 0x40]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004aa06
mov edx, dword [edi]
mov ecx, dword [esp + 0x6c]
sar esi, 1
mov eax, dword [edx + esi*4]
push eax
push ecx
call fcn.1003c700
add esp, 8
test eax, eax
je 0x1004aacb
mov dword [esp + 0x70], 0
jmp 0x1004aa31
mov eax, dword [edi]
mov edx, dword [esp + 0x80]
sar esi, 1
push edx
mov edx, dword [esp + 0x6c]
mov ecx, dword [eax + esi*4]
mov eax, dword [esp + 0x70]
push ecx
push eax
push eax
push edx
call fcn.1003ccc0
add esp, 0x14
test eax, eax
je 0x1004aacb
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x1004a96b
mov eax, dword [esp + 0x78]
dec eax
mov dword [esp + 0x78], eax
jns 0x1004a91a
mov eax, dword [esp + 0x70]
test eax, eax
je 0x1004aa80
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push eax
push ecx
call fcn.1003c8a0
add esp, 8
test eax, eax
je 0x1004aacb
mov dword [esp + 0x5c], 1
jmp 0x1004aacb
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1004aaa6
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push edx
push eax
push ecx
call fcn.1003cdb0
add esp, 0xc
test eax, eax
je 0x1004aacb
mov dword [esp + 0x5c], 1
jmp 0x1004aacb
push 0x1c1
push str..cryptoecec_mult.c
push 0x41
push 0xbb
push 0x10
call fcn.1000c430
add esp, 0x14
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1004aadc
push eax
call fcn.1001d950
add esp, 4
mov eax, dword [esp + 0x44]
test eax, eax
je 0x1004aaed
push eax
call fcn.1003c690
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004aafe
push eax
call fcn.1000b6a0
add esp, 4
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1004ab0f
push eax
call fcn.1000b6a0
add esp, 4
mov edi, dword [esp + 0x34]
test edi, edi
je 0x1004ab3b
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x1004ab32
push eax
call fcn.1000b6a0
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x1004ab1f
push edi
call fcn.1000b6a0
add esp, 4
mov edi, dword [esp + 0x4c]
test edi, edi
je 0x1004ab67
mov eax, dword [edi]
mov esi, edi
test eax, eax
je 0x1004ab5e
push eax
call fcn.1003c6c0
mov eax, dword [esi + 4]
add esi, 4
add esp, 4
test eax, eax
jne 0x1004ab4b
push edi
call fcn.1000b6a0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1004ab78
push eax
call fcn.1000b6a0
add esp, 4
mov eax, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret