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

Disassembly:
mov eax, 0x68
call fcn.100b1990
push ebx
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov dword [esp + 0x14], 0
mov eax, dword [ebp]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x80], eax
mov eax, dword [0x100fff48]
test eax, eax
mov dword [esp + 0x10], ebx
jne 0x10036dec
push 0x262
push str..crypto_bn_bn_nist.c
push 0x23
push 9
call sym.LIBEAY32_smt.dll_CRYPTO_lock
mov eax, dword [0x100fff48]
add esp, 0x10
test eax, eax
jne 0x10036dd6
mov ecx, 0xc
mov esi, 0x100bbb04
mov edi, 0x100ffdc4
mov eax, 0x100ffdc4
rep movsd dword es:[edi], dword [esi]
mov esi, 0x100ffdf4
mov edi, 7
push 0xc
push eax
push 0x100bbb04
push esi
call sym.LIBEAY32_smt.dll_bn_add_words
mov eax, esi
add esp, 0x10
add esi, 0x30
dec edi
jne 0x10036db3
mov dword [0x100fff48], 1
push 0x267
push str..crypto_bn_bn_nist.c
push 0x23
push 0xa
call sym.LIBEAY32_smt.dll_CRYPTO_lock
add esp, 0x10
mov esi, dword [esp + 0x84]
push ebp
push esi
call sym.LIBEAY32_smt.dll_BN_ucmp
add esp, 8
test eax, eax
jne 0x10036e1c
mov ecx, dword [esp + 0x7c]
push eax
push ecx
call sym.LIBEAY32_smt.dll_BN_set_word
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
jle 0x10036e42
mov eax, dword [esp + 0x7c]
cmp eax, ebp
je 0x100372bf
push ebp
push eax
call sym.LIBEAY32_smt.dll_BN_copy
add esp, 8
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x68
ret
cmp ebx, 0xc
jne 0x10036e5e
mov edx, dword [esp + 0x7c]
push esi
push ebp
push edx
call sym.LIBEAY32_smt.dll_BN_usub
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov ebx, dword [esp + 0x7c]
cmp ebx, ebp
je 0x10036eaa
cmp dword [ebx + 8], 0xc
jl 0x10036e70
mov eax, ebx
jmp 0x10036e7b
push 0xc
push ebx
call sym.LIBEAY32_smt.dll_bn_expand2
add esp, 8
xor ebp, ebp
cmp eax, ebp
jne 0x10036e8b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret
mov esi, dword [ebx]
mov ecx, dword [esp + 0x80]
mov eax, esi
sub ecx, esi
mov edx, 0xc
mov edi, dword [ecx + eax]
mov dword [eax], edi
add eax, 4
dec edx
jne 0x10036e9d
jmp 0x10036eb3
mov esi, dword [esp + 0x80]
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x80]
lea edi, [esp + 0x48]
lea edx, [eax - 0xc]
lea eax, [ecx + 0x30]
cmp edx, ebp
je 0x10036ee9
lea ecx, [esp + 0x48]
mov dword [esp + 0x7c], edx
sub eax, ecx
mov ecx, dword [eax + edi]
mov dword [edi], ecx
mov ecx, dword [esp + 0x7c]
add edi, 4
dec ecx
mov dword [esp + 0x7c], ecx
jne 0x10036ed6
mov ecx, 0xc
sub ecx, edx
je 0x10036ef6
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
lea ecx, [esp + 0x18]
xor edx, edx
mov dword [esp + 0x7c], 8
mov eax, dword [ecx]
add ecx, 4
lea edi, [eax + eax]
shr eax, 0x1f
or edi, edx
mov edx, eax
mov eax, dword [esp + 0x7c]
mov dword [ecx - 4], edi
dec eax
mov dword [esp + 0x7c], eax
jne 0x10036f30
lea edx, [esp + 0x18]
lea eax, [esi + 0x10]
push 8
push edx
push eax
push eax
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
mov edi, 1
test eax, eax
jne 0x10036f6e
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x48]
push 0xc
push eax
push esi
push esi
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
test eax, eax
je 0x10036f84
inc edi
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x18]
push 0xc
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x6c]
push ecx
push esi
push esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], eax
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
test eax, eax
je 0x10036ffa
inc edi
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x74]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x18]
push 0xc
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x68]
push eax
push esi
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
test eax, eax
je 0x10037068
inc edi
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
lea edx, [esp + 0x18]
push 8
lea eax, [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x78]
push edx
push eax
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
test eax, eax
je 0x100370b1
inc edi
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x18]
push 0xc
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x78]
push ecx
push esi
push esi
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
test eax, eax
je 0x10037107
inc edi
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], edx
lea edx, [esp + 0x18]
push 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x74]
push edx
push esi
push esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
call sym.LIBEAY32_smt.dll_bn_sub_words
add esp, 0x10
test eax, eax
je 0x1003717d
dec edi
mov ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x70]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
push 0xc
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x78]
push ecx
push esi
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call sym.LIBEAY32_smt.dll_bn_sub_words
add esp, 0x10
test eax, eax
je 0x100371d3
dec edi
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x18]
push 0xc
push edx
push esi
push esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
call sym.LIBEAY32_smt.dll_bn_sub_words
add esp, 0x10
test eax, eax
je 0x1003721d
dec edi
cmp edi, ebp
je 0x10037254
push 0xc
jle 0x1003723b
lea eax, [edi + edi*2]
shl eax, 4
lea ecx, [eax + 0x100ffd94]
push ecx
push esi
push esi
call sym.LIBEAY32_smt.dll_bn_sub_words
jmp 0x10037251
lea edx, [edi + edi*2 + 3]
mov eax, 0x100ffdc4
shl edx, 4
sub eax, edx
push eax
push esi
push esi
call sym.LIBEAY32_smt.dll_bn_add_words
add esp, 0x10
mov eax, dword [ebx]
mov dword [ebx + 4], 0xc
add eax, 0x2c
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x10037276
mov edx, dword [ebx + 4]
dec edx
mov ecx, edx
mov dword [ebx + 4], edx
cmp ecx, ebp
jg 0x10037260
mov edx, dword [esp + 0x84]
push edx
push ebx
call sym.LIBEAY32_smt.dll_BN_ucmp
add esp, 8
test eax, eax
jl 0x100372bf
push 0xc
push 0x100bbb04
push esi
push esi
call sym.LIBEAY32_smt.dll_bn_sub_words
mov eax, dword [ebx + 4]
add esp, 0x10
cmp eax, ebp
jle 0x100372bf
mov ecx, dword [ebx]
lea eax, [ecx + eax*4 - 4]
mov edx, dword [eax]
sub eax, 4
test edx, edx
jne 0x100372bf
mov edx, dword [ebx + 4]
dec edx
mov ecx, edx
mov dword [ebx + 4], edx
cmp ecx, ebp
jg 0x100372a9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x68
ret