Function at 0x43eb40
Capabilities:
Access peb ldr_data
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5abab6
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x62c2a0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x62c2a0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 8]
mov dword [esp + 0x28], eax
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 1
lea ecx, [esp + 0x2c]
mov dword [esp + 0xe0], 0
call fcn.00433f60
lea ecx, [esp + 0x68]
call fcn.00433f60
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
push str._SEQUENCE__SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.12.10.1.3__OBJECT_IDENTIFIER__TAG_0_CLASS_2___SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.9.22.1__OBJECT_IDENTIFIER__TAG_0_CLASS_2___OCTET_STRING_____TAG_0___SEQUENCE___TAG_0__SET__SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.9.21__OBJECT_IDENTIFIER__SET__OCTET_STRING_0x01000000__OCTET_STRING___SET___SEQUENCE__SEQUENCE_____SET___SEQUENCE___SEQUENCE_
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 3
call fcn.004342e0
push dword [edi + 0x10]
lea ecx, [esp + 0x30]
push dword [edi + 0xc]
push 0
push str.0._0_.0._0_.0
call fcn.00434cd0
mov ecx, eax
call fcn.00434b00
mov eax, dword [edi + 0x2c]
test eax, eax
je 0x43eccf
cmp dword [eax - 0xc], 0
je 0x43eccf
push str._SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.9.20__OBJECT_IDENTIFIER__SET__BMP_STRING___BMP_STRING___SET___SEQUENCE_
push 0
push 0x5fdebc
lea ecx, [esp + 0x38]
call fcn.00434cd0
mov ecx, eax
call fcn.004342e0
mov eax, dword [edi + 0x2c]
lea ecx, [esp + 0x2c]
test eax, eax
mov esi, 0x5ef390
push 0
push str.0.2.1.1.0
cmovne esi, eax
call fcn.00434cd0
mov edx, eax
test edx, edx
je 0x43ed1c
test esi, esi
je 0x43ecbd
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43eca7
sub ecx, ebx
push 0
push ecx
push esi
mov ecx, edx
call fcn.00435ff0
jmp 0x43ed1c
push 0
push 0
push 0x5ef390
mov ecx, edx
call fcn.00435ff0
jmp 0x43ed1c
push 0
push 0x5fe0bc
lea ecx, [esp + 0x34]
call fcn.00434cd0
mov esi, eax
test esi, esi
je 0x43ed1c
cmp dword [esi + 0x2c], 1
jbe 0x43ed1c
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x43ecfb
mov eax, dword [ecx]
push 1
call dword [eax]
dec dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
lea eax, [eax*4 - 4]
push eax
lea eax, [ecx + 8]
push eax
lea eax, [ecx + 4]
push eax
call fcn.00581fd0
add esp, 0xc
xor ebx, ebx
cmp dword [edi + 0x8c], ebx
jle 0x43eebf
lea ebx, [ebx]
push str._SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.12.10.1.3__OBJECT_IDENTIFIER__TAG_0_CLASS_2___SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.9.22.1__OBJECT_IDENTIFIER__TAG_0_CLASS_2___OCTET_STRING_____TAG_0___SEQUENCE___TAG_0__SET__SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.9.20__OBJECT_IDENTIFIER__SET__BMP_STRING_____SET___SEQUENCE___SET___SEQUENCE_
lea ecx, [esp + 0x6c]
call fcn.004342e0
mov eax, dword [edi + 0x88]
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
lea ecx, [esp + 0x68]
push dword [eax + 8]
push dword [eax + 4]
push 0
push 0x5fe0c8
call fcn.00434cd0
mov ecx, eax
call fcn.00434b00
mov eax, dword [edi + 0x88]
lea ecx, [eax + ebx*4]
mov eax, dword [ecx]
mov eax, dword [eax]
test eax, eax
je 0x43eddc
cmp dword [eax - 0xc], 0
je 0x43eddc
mov eax, dword [ecx]
mov esi, 0x5ef390
push 0
push str.2.0.1.0
lea ecx, [esp + 0x70]
mov eax, dword [eax]
test eax, eax
cmovne esi, eax
call fcn.00434cd0
mov edx, eax
test edx, edx
je 0x43ee21
test esi, esi
je 0x43edca
mov ecx, esi
lea edi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43edb0
sub ecx, edi
push 0
push ecx
push esi
mov ecx, edx
call fcn.00435ff0
mov edi, dword [esp + 0x14]
jmp 0x43ee21
push 0
push 0
push 0x5ef390
mov ecx, edx
call fcn.00435ff0
jmp 0x43ee21
push 0
push 0x5fe0ec
lea ecx, [esp + 0x70]
call fcn.00434cd0
mov esi, eax
test esi, esi
je 0x43ee21
cmp dword [esi + 0x2c], 0
jbe 0x43ee21
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx]
test ecx, ecx
je 0x43ee07
mov eax, dword [ecx]
push 1
call dword [eax]
dec dword [esi + 0x2c]
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.00581fd0
add esp, 0xc
push 0x3c
call fcn.00464219
add esp, 4
test eax, eax
je 0x43ee3a
mov ecx, eax
call fcn.00433f60
mov esi, eax
jmp 0x43ee3c
xor esi, esi
test esi, esi
je 0x43eeb2
cmp dword [esp + 0x74], 0
je 0x43ee7f
lea ecx, [esp + 0x68]
call fcn.004374a0
mov edi, eax
push edi
call fcn.0046424b
add esp, 4
test eax, eax
jne 0x43ee69
mov dword [esp + 0x6c], 3
jmp 0x43ee7f
push edi
push eax
lea ecx, [esp + 0x70]
call fcn.00437550
mov dword [esp + 0x9c], 1
push ecx
push dword [esp + 0x88]
mov ecx, esi
push dword [esp + 0x88]
call fcn.004340c0
test eax, eax
jne 0x43eea3
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x43eeae
push ecx
push esi
lea ecx, [esp + 0x34]
call fcn.00434500
mov edi, dword [esp + 0x14]
inc ebx
cmp ebx, dword [edi + 0x8c]
jl 0x43ed30
cmp dword [esp + 0x38], 0
je 0x43eefb
lea ecx, [esp + 0x2c]
call fcn.004374a0
mov esi, eax
push esi
call fcn.0046424b
add esp, 4
test eax, eax
jne 0x43eee8
mov dword [esp + 0x30], 3
jmp 0x43eefb
push esi
push eax
lea ecx, [esp + 0x34]
call fcn.00437550
mov dword [esp + 0x60], 1
push dword [esp + 0x48]
lea ecx, [esp + 0x1c]
push dword [esp + 0x48]
call fcn.00432e90
push 0x17
push 0x5fe0d4
lea ecx, [esp + 0xac]
call fcn.00402f20
cmp dword [esp + 0xc8], 8
mov dword [esp + 0xcc], 0x7d0
jae 0x43efcb
push 8
call fcn.00584bc0
mov esi, eax
add esp, 4
test esi, esi
je 0x43f0d0
mov edx, 8
mov ecx, esi
mov byte [ecx], 0
lea ecx, [ecx + 1]
dec edx
jne 0x43ef53
mov ecx, dword [esp + 0xc0]
mov eax, 8
cmp ecx, eax
cmova ecx, eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 0xc0], ecx
test eax, eax
je 0x43efb9
test ecx, ecx
je 0x43ef95
push ecx
push eax
push esi
call fcn.00589690
mov eax, dword [esp + 0xc8]
add esp, 0xc
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x43efb0
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x43efa0
mov eax, dword [esp + 0xbc]
push eax
call fcn.00582cf0
add esp, 4
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc8], 8
mov eax, 8
mov dword [esp + 0xc0], eax
push dword [esp + 0xbc]
push eax
push dword [edi + 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
lea eax, [esp + 0xa4]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00442310
mov ebx, dword [esp + 0x28]
mov ecx, ebx
push str._SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.7.6__OBJECT_IDENTIFIER__TAG_0_CLASS_2___SEQUENCE__INTEGER_0x00__INTEGER__SEQUENCE__OBJECT_IDENTIFIER_1.2.840.113549.1.7.1__OBJECT_IDENTIFIER__SEQUENCE__OBJECT_IDENTIFIER____SEQUENCE__OCTET_STRING____INTEGER_____SEQUENCE___SEQUENCE__TAG_0_CLASS_2_____SEQUENCE___SEQUENCE___TAG_0___SEQUENCE_
call fcn.004342e0
push 0
push str._0_.0.1.1.0
mov ecx, ebx
call fcn.00434cd0
test eax, eax
je 0x43f049
cmp dword [esp + 0xb8], 0x10
lea ecx, [esp + 0xa4]
push 0
cmovae ecx, dword [esp + 0xa8]
push dword [esp + 0xb8]
push ecx
mov ecx, eax
call fcn.00435ff0
push dword [esp + 0xc0]
mov ecx, ebx
push dword [esp + 0xc0]
push 0
push str._0_.0.1.1.1.0
call fcn.00434cd0
mov ecx, eax
call fcn.00434b00
push 0
push str._0_.0.1.1.1.1
mov ecx, ebx
call fcn.00434cd0
test eax, eax
je 0x43f08e
push 0
push 6
push str.0x07D0
mov ecx, eax
call fcn.00435ff0
push dword [esp + 0x1c]
mov ecx, ebx
push dword [esp + 0x1c]
push 0
push str._0_.0.1._0_
call fcn.00434cd0
mov ecx, eax
call fcn.00434b00
cmp dword [ebx + 0xc], 0
je 0x43f0ec
mov ecx, ebx
call fcn.004374a0
mov esi, eax
push esi
call fcn.0046424b
add esp, 4
test eax, eax
jne 0x43f0dc
mov dword [ebx + 4], 3
jmp 0x43f0ec
mov eax, dword [esp + 0xc0]
jmp 0x43efd7
push esi
push eax
mov ecx, ebx
call fcn.00437550
mov dword [ebx + 0x34], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43f11e
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x43f10d
lea esp, [esp]
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x43f100
mov eax, dword [esp + 0x18]
push eax
call fcn.00582cf0
add esp, 4
mov dword [esp + 0x18], 0
mov byte [esp + 0xe0], 1
lea ecx, [esp + 0x68]
mov dword [esp + 0x68], vtable.DASN1.0
call fcn.00434010
mov byte [esp + 0xe0], 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], vtable.DASN1.0
call fcn.00434010
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x43f18a
mov ecx, dword [esp + 0xc8]
test ecx, ecx
je 0x43f176
mov byte [eax], 0
lea eax, [eax + 1]
dec ecx
jne 0x43f166
mov eax, dword [esp + 0xbc]
push eax
call fcn.00582cf0
add esp, 4
mov dword [esp + 0xbc], 0
cmp dword [esp + 0xb8], 0x10
jb 0x43f1a3
push dword [esp + 0xa4]
call fcn.00464246
add esp, 4
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.00581fc1
mov esp, ebp
pop ebp
ret 4