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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x440
mov esi, esp
mov dword [esi + 0x428], ebp
mov dword [esi + 0x42c], esp
mov dword [esi + 0x438], 0xffffffff
mov dword [esi + 0x434], 0x414930
mov edx, dword [ebp + 0xc]
lea eax, [esi + 0x430]
mov ebx, dword [ebp + 8]
mov ecx, dword fs:[0]
mov dword [esi + 0x430], ecx
mov dword fs:[0], eax
mov byte [esi + 0x164], 0x7b
mov dword [esi + 0x148], 3
mov dword [esi + 0x14c], 0x460a1c
mov dword [esi + 0x150], 0xc
mov byte [esi + 0x154], 0x7d
mov dword [esi + 0x158], 0
mov dword [esi + 0x15c], 0x7d
mov eax, dword [edx + 0xc]
test eax, eax
je 0x41315b
mov ecx, dword [edx + 8]
cmp byte [ecx], 0x7b
jne 0x41315b
inc ecx
dec eax
mov dword [esi + 0x2b0], 0
mov dword [esi + 0x2b8], 0
mov byte [esi + 0x2bc], 0x2c
mov dword [edx + 8], ecx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x70], eax
mov dword [edx + 0xc], eax
lea eax, [esi + 0x2bc]
lea ecx, [esi + 0x1f8]
push edx
push eax
push eax
push ecx
call fcn.00425bb0
add esp, 0x10
mov edi, dword [esi + 0x1f8]
mov edx, dword [esi + 0x1fc]
mov eax, dword [esi + 0x200]
mov ecx, dword [esi + 0x204]
cmp edi, 3
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0xc], edx
jne 0x413189
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x4131e3
xor edx, edx
mov dword [esi + 8], eax
jmp 0x413147
inc edx
mov edi, ebx
cmp ecx, edx
je 0x4131ae
mov ebx, edi
movzx edi, byte [edi + edx]
cmp edi, 0x20
je 0x413140
cmp edi, 9
je 0x413140
mov edi, ebx
jmp 0x4131b0
mov byte [ebx + 7], 0
mov word [ebx + 5], 0
mov dword [ebx + 8], 4
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx], 1
mov byte [ebx + 4], 0
jmp 0x413960
mov ecx, dword [esi + 0x20c]
cmp edi, 1
mov edx, 2
mov eax, dword [esi + 0x208]
cmovne edx, edi
mov edi, dword [esi + 0x14]
mov dword [esi + 8], ecx
mov ecx, dword [esi + 0x18]
jmp 0x413949
mov edx, ecx
lea eax, [edi + edx]
mov edi, dword [ebp + 0xc]
sub ecx, edx
mov dword [edi + 8], eax
mov dword [edi + 0xc], ecx
mov edi, ebx
mov ebx, dword [esi + 8]
sub eax, ebx
sub edi, ebx
mov dword [esi + 0x1c], eax
xor eax, eax
test edx, edx
mov edx, dword [esi + 0xc]
setne al
lea eax, [eax + eax - 0x80000000]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
jmp 0x4131f2
sub edi, eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x24], 0x80000000
mov dword [esi + 0x1c], edi
mov ebx, dword [esi + 0x18]
mov dword [esi + 0x74], edx
mov dword [esi + 0x78], eax
mov dword [esi + 0x1f8], 0x80000003
mov dword [esi + 8], edi
mov dword [esi + 0x374], 0x80000000
mov dword [esi + 0x204], 0x80000003
mov dword [esi + 0x7c], ebx
call fcn.004357f0
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x413237
movdqu xmm0, xmmword [eax + 8]
mov edi, eax
add edi, 8
jmp 0x413289
pxor xmm0, xmm0
mov dword [esi + 0x28], eax
mov dword [esi + 0x438], 1
lea eax, [esi + 0x2b0]
movdqa xmmword [esi + 0x2b0], xmm0
push 0x10
push eax
call dword [sym.imp.bcryptprimitives.dll_ProcessPrng]
movdqa xmm0, xmmword [esi + 0x2b0]
mov eax, dword [esi + 0x28]
mov ebx, dword [esi + 0x18]
mov edi, eax
pshufd xmm1, xmm0, 0xee
mov dword [eax + 4], 0
mov dword [eax], 1
add edi, 8
movq qword [eax + 0x10], xmm1
movd edx, xmm0
pshufd xmm1, xmm0, 0x55
add edx, 1
movd ecx, xmm1
adc ecx, 0
mov dword [edi], edx
mov dword [edi + 4], ecx
lea edi, [esi + 0x90]
mov eax, dword [esi + 0x37c]
movsd xmm1, qword [esi + 0x374]
movsd xmm2, qword [esi + 0x200]
movsd xmm3, qword [esi + 0x1f8]
mov dword [esi + 0xd0], eax
movsd qword [esi + 0xc8], xmm1
mov word [esi + 0xe0], 0
movsd qword [esi + 0xb8], xmm2
movsd xmm2, qword [esi + 0x208]
movsd qword [esi + 0xb0], xmm3
movsd qword [esi + 0xc0], xmm2
mov dword [esi + 0xd4], 0
movdqu xmmword [esi + 0x80], xmm0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 8
mov dword [esi + 0x98], 0
mov dword [esi + 0x9c], 0x461270
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov eax, dword [esi + 0xc8]
lea ecx, [eax - 0x80000000]
cmp ecx, 2
ja 0x41336a
cmp ecx, 1
jne 0x413389
test eax, eax
je 0x413389
push 1
push eax
push dword [esi + 0xcc]
call fcn.0040b8d0
add esp, 0xc
mov dword [esi + 0x438], 2
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x1c]
mov byte [esi + 0x13], 1
mov dword [esi + 0x438], 2
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], edx
mov dword [esi + 0xd0], ecx
push ebx
push edi
call fcn.0042d920
add esp, 8
mov ebx, dword [esi + 0x14]
imul eax, dword [esi + 0x18], 0xc8
mov ecx, dword [esi + 0xc]
add eax, ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ecx
mov dword [esi + 0x54], eax
lea ecx, [esi + 0x374]
cmp ebx, eax
je 0x41366f
lea eax, [ebx + 0xc8]
mov dword [esi + 0x4c], eax
lea eax, [ebx + 0x14]
mov edi, dword [ebx + 0x10]
push 0xb4
push eax
push ecx
call fcn.00457b70
lea ecx, [esi + 0x374]
add esp, 0xc
cmp edi, 4
je 0x41366f
mov eax, dword [ebx + 8]
mov dword [esi + 0x38], eax
movq xmm0, qword [ebx]
mov dword [esi + 0x2b0], edi
movq qword [esi + 0x30], xmm0
push 0xb4
push ecx
lea eax, [esi + 0x2b4]
push eax
call fcn.00457b70
add esp, 0xc
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
lea edi, [esi + 0x80]
test eax, eax
mov dword [esi + 8], eax
lea eax, [eax + eax*8]
mov dword [esi + 0x1c], ecx
lea eax, [ecx + eax*8]
setne byte [esi + 0x22]
xor edx, edx
mov dword [esi + 0x14], eax
mov eax, ecx
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp eax, dword [esi + 0x14]
je 0x413525
mov dword [esi + 0xc], edx
mov byte [esi + 6], 1
mov dword [esi + 0x438], 7
mov dword [esi + 0x18], eax
push eax
push edi
lea eax, [esi + 0x1f8]
push eax
call fcn.0041dbb0
add esp, 0xc
lea eax, [esi + 0x22]
mov byte [esi + 6], 1
push eax
lea eax, [esi + 0x1f8]
push eax
call fcn.0041e290
add esp, 8
mov edi, eax
mov eax, dword [eax + 0x54]
lea ecx, [eax - 8]
cmp ecx, 0xfffffff9
ja 0x4134dd
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
inc edx
cmp byte [esi + 0x22], 0
lea eax, [ecx + 0x48]
je 0x413470
cmp byte [edi + 0x60], 0
jne 0x413470
jmp 0x413762
add eax, 0xfffffffe
mov ecx, 6
mov byte [esi + 6], 1
cmp eax, 6
cmovae eax, ecx
mov ecx, dword [eax*4 + 0x460b68]
mov eax, dword [eax*4 + 0x460b84]
push eax
push ecx
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 0x1c]
lea eax, [esi + 0x58]
push eax
call fcn.00416040
add esp, 0x18
mov eax, dword [esi + 0x58]
mov edi, dword [esi + 0x5c]
cmp eax, 0x80000003
jne 0x413ba0
cmp dword [esi + 8], 0
lea edx, [esi + 0x1f8]
setne al
cmp byte [edi + 0x61], 0
setne cl
xor cl, al
jne 0x413ab8
lea eax, [esi + 0x320]
mov byte [esi + 6], 1
mov dword [esi + 0x438], 7
push eax
push edx
mov dword [esi + 8], edi
call fcn.0044cde0
mov ecx, dword [esi + 8]
add esp, 8
mov eax, dword [esi + 0x200]
movsd xmm0, qword [esi + 0x1f8]
mov byte [esi + 6], 1
mov dword [esi + 0x140], eax
lea eax, [esi + 0x138]
movsd qword [esi + 0x138], xmm0
push eax
push ecx
lea eax, [esi + 0x58]
push eax
call fcn.0042cf30
add esp, 0xc
cmp dword [esi + 0x58], 0
je 0x413af3
lea ecx, [esi + 0x5c]
mov eax, dword [ecx + 0x10]
movq xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [esi + 0x178], eax
movsd qword [esi + 0x170], xmm1
movq qword [esi + 0x168], xmm0
push 0xb8
lea eax, [esi + 0x2b0]
push eax
lea edi, [esi + 0x1f8]
push edi
call fcn.00457b70
add esp, 0xc
mov byte [esi + 6], 0
push edi
lea eax, [esi + 0x168]
push eax
call fcn.0042d130
add esp, 8
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], eax
mov dword [esi + 8], ecx
nop word [eax + eax]
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x14], eax
je 0x413640
inc eax
lea edx, [ecx + 0x48]
mov dword [esi + 0x438], 0xa
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], edx
call fcn.00403ca0
mov ecx, dword [esi + 0x18]
jmp 0x413610
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41365b
shl eax, 3
lea eax, [eax + eax*8]
push 4
push eax
push dword [esi + 8]
call fcn.0040b8d0
add esp, 0xc
mov ebx, dword [esi + 0x4c]
mov eax, dword [esi + 0x54]
lea ecx, [esi + 0x374]
cmp ebx, eax
jne 0x4133e5
lea eax, [esi + 0x48]
mov byte [esi + 0x13], 0
mov dword [esi + 0x438], 2
push eax
call fcn.0042c680
add esp, 4
mov eax, dword [esi + 0x80]
mov ecx, dword [esi + 0x90]
mov edi, dword [esi + 0x84]
mov ebx, dword [esi + 0x8c]
mov edx, dword [esi + 0x94]
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x2c], eax
lea eax, [esi + 0x98]
movsd xmm1, qword [eax + 8]
movsd xmm2, qword [eax + 0x18]
movq xmm0, qword [eax]
movsd qword [esi + 0xf0], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x100], xmm2
movsd xmm2, qword [eax + 0x28]
movq qword [esi + 0xe8], xmm0
movsd qword [esi + 0xf8], xmm1
movsd xmm1, qword [eax + 0x20]
movsd qword [esi + 0x110], xmm2
movsd xmm2, qword [esi + 0xe0]
movsd qword [esi + 0x108], xmm1
movsd xmm1, qword [eax + 0x30]
mov eax, dword [eax + 0x38]
movsd qword [esi + 0x130], xmm2
mov dword [esi + 0x120], eax
mov eax, dword [esi + 0xd4]
movsd qword [esi + 0x118], xmm1
movsd xmm1, qword [esi + 0xd8]
cmp eax, 2
movsd qword [esi + 0x128], xmm1
jne 0x41397d
mov dword [esi + 0x28], ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x40], edx
jmp 0x41388a
mov ebx, dword [ecx + 8]
mov eax, dword [ecx + 4]
test ebx, ebx
je 0x413796
mov dword [esi + 0xc], eax
js 0x413c1f
movzx eax, byte [0x472181]
push 1
push ebx
call fcn.0040b8c0
add esp, 8
test eax, eax
je 0x413c23
mov edi, eax
mov eax, dword [esi + 0xc]
jmp 0x41379b
mov edi, 1
push ebx
push eax
push edi
call fcn.00457b70
add esp, 0xc
mov eax, 0x80000000
mov dword [esi + 0x24], ebx
mov edx, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x28], eax
mov dword [esi + 8], edi
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x40], ecx
lea ecx, [esi + 0x320]
call fcn.00403ca0
lea ecx, [esi + 0x2b0]
mov dword [esi + 0x438], 6
call fcn.00411470
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x38]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], eax
mov dword [esi + 0x3c], ecx
nop word cs:[eax + eax]
mov eax, dword [esi + 0xc]
cmp dword [esi + 0x14], eax
je 0x413826
inc eax
lea edx, [ecx + 0x48]
mov dword [esi + 0x438], 5
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], edx
call fcn.00403ca0
mov ecx, dword [esi + 0x18]
jmp 0x413800
mov eax, dword [esi + 0x30]
test eax, eax
je 0x41384b
shl eax, 3
lea eax, [eax + eax*8]
push 4
push eax
push dword [esi + 0x3c]
call fcn.0040b8d0
add esp, 0xc
mov dword [esi + 0x438], 2
lea eax, [esi + 0x48]
mov byte [esi + 0x13], 0
mov dword [esi + 0x438], 2
push eax
call fcn.0042c680
add esp, 4
lea ecx, [esi + 0x80]
mov byte [esi + 7], 0
mov dword [esi + 0x438], 0
call fcn.00411aa0
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [esi + 0x44]
mov edi, dword [esi + 8]
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0x70]
mov dword [esi + 8], edi
mov edx, dword [esi + 0x1c]
mov dword [esi + 0x2b0], 0
mov dword [esi + 0x2b4], 4
mov dword [esi + 0x2b8], 0
mov dword [esi + 0x2bc], 0
mov dword [eax + 0xc], ecx
mov eax, dword [esi + 0x24]
mov dword [esi + 0x1c], edx
mov dword [esi + 0x1f8], eax
mov dword [esi + 0x1fc], edi
mov edi, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
mov dword [esi + 0x200], edi
mov dword [esi + 0x204], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x208], edx
mov dword [esi + 0x20c], eax
movzx eax, byte [0x472181]
push 4
push 0x18
call fcn.0040b8c0
add esp, 8
test eax, eax
je 0x413c07
mov ecx, dword [esi + 0x24]
mov edx, 2
mov dword [esi + 0xc], 0
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 8], 0x4608fc
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0x28]
mov dword [eax + 8], edi
mov edi, 4
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x1c]
mov dword [eax + 0x10], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x14], ecx
xor ecx, ecx
mov dword [ebx], edx
mov edx, dword [esi + 0xc]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], ecx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], ecx
mov dword [ebx + 0x54], 2
mov eax, dword [esi + 0x430]
mov dword fs:[0], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
movsd xmm0, qword [esi + 0x118]
movsd xmm1, qword [esi + 0xf0]
mov ecx, dword [esi + 0x120]
mov byte [esi + 0x23], 1
mov dword [esi + 0x438], 0xd
movsd qword [esi + 0x1d8], xmm0
movsd xmm0, qword [esi + 0x110]
movsd qword [esi + 0x1b0], xmm1
movsd xmm1, qword [esi + 0x130]
mov dword [esi + 0x1e0], ecx
mov ecx, dword [esi + 0x24]
movsd qword [esi + 0x1d0], xmm0
movsd xmm0, qword [esi + 0x108]
movsd qword [esi + 0x188], xmm1
movsd xmm1, qword [esi + 0x188]
movsd qword [esi + 0x1c8], xmm0
movsd xmm0, qword [esi + 0x100]
movsd qword [esi + 0x1c0], xmm0
movsd xmm0, qword [esi + 0xf8]
movsd qword [esi + 0x1b8], xmm0
movsd xmm0, qword [esi + 0xe8]
movsd qword [esi + 0x1a8], xmm0
movsd xmm0, qword [esi + 0x128]
movsd qword [esi + 0x1f0], xmm1
movsd qword [esi + 0x180], xmm0
movq xmm0, qword [esi + 0x180]
movq qword [esi + 0x1e8], xmm0
mov dword [esi + 0x190], ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x19c], ebx
mov dword [esi + 0x1a4], edx
lea edx, [esi + 0x148]
mov dword [esi + 0x1a0], ecx
mov dword [esi + 0x1e4], eax
lea ecx, [esi + 0x1f8]
push dword [ebp + 0xc]
call fcn.00410eb0
add esp, 4
mov ebx, dword [ebp + 8]
cmp dword [esi + 0x1f8], 3
jne 0x413b5c
lea eax, [esi + 0x190]
push 0x68
push eax
push ebx
call fcn.00457b70
add esp, 0xc
jmp 0x413967
mov ebx, dword [esi + 0x328]
mov edi, dword [esi + 0x324]
test ebx, ebx
je 0x413bae
js 0x413c53
movzx eax, byte [0x472181]
push 1
push ebx
call fcn.0040b8c0
add esp, 8
test eax, eax
je 0x413c57
mov ecx, eax
jmp 0x413bb3
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x68]
mov edi, dword [esi + 0x60]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x6c]
mov edx, dword [ecx + 8]
mov dword [esi + 0x18], edi
mov eax, dword [eax - 4]
cmp eax, edx
jae 0x413c38
mov ecx, dword [ecx + 4]
imul eax, eax, 0xc8
mov ebx, dword [ecx + eax + 0xc0]
mov edx, dword [ecx + eax + 0xbc]
test ebx, ebx
je 0x413bcd
mov dword [esi + 0x14], edx
js 0x413c76
movzx eax, byte [0x472181]
push 1
push ebx
call fcn.0040b8c0
add esp, 8
test eax, eax
je 0x413c7a
mov edx, dword [esi + 0x14]
mov edi, eax
jmp 0x413bd2
movq xmm0, qword [esi + 0x208]
movsd xmm2, qword [esi + 0x1f8]
movsd xmm1, qword [esi + 0x200]
lea ecx, [esi + 0x190]
mov byte [esi + 0x23], 0
movq qword [ebx + 0x10], xmm0
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm2
mov dword [ebx + 0x54], 2
call fcn.00411aa0
mov ebx, dword [ebp + 8]
jmp 0x413967
mov dword [esi + 0x24], eax
mov ebx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
jmp 0x4137ae
mov eax, 1
push ebx
push edi
mov dword [esi + 8], eax
push eax
call fcn.00457b70
add esp, 0xc
mov dword [esi + 0x438], 6
jmp 0x413bf5
mov edi, 1
push ebx
push edx
push edi
call fcn.00457b70
add esp, 0xc
mov eax, dword [esi + 0xc]
test eax, eax
je 0x413bf2
push 1
push eax
push dword [esi + 0x18]
call fcn.0040b8d0
add esp, 0xc
mov dword [esi + 8], edi
mov dword [esi + 0x28], 0x80000000
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x24], ebx
jmp 0x4137c3
mov dword [esi + 0x438], 0xc
push 0x18
push 4
call fcn.0045d9d0
add esp, 8
jmp 0x413c93
xor eax, eax
jmp 0x413c28
mov eax, 1
mov byte [esi + 6], 1
push ebx
push eax
call fcn.0045d9b0
add esp, 8
jmp 0x413c93
mov dword [esi + 0x438], 8
push 0x4615b4
push edx
push eax
call fcn.0045dc70
add esp, 0xc
jmp 0x413c93
xor eax, eax
jmp 0x413c5c
mov eax, 1
mov byte [esi + 6], 1
mov dword [esi + 0x438], 7
push ebx
push eax
call fcn.0045d9b0
add esp, 8
jmp 0x413c93
xor eax, eax
jmp 0x413c7f
mov eax, 1
mov dword [esi + 0x438], 8
push ebx
push eax
call fcn.0045d9b0
add esp, 8
ud2