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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
mov eax, dword [0x5b89bae4]
xor eax, esp
mov dword [esp + 0x230], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x34]
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], eax
mov dword [esp + 4], ecx
push esi
push edi
test eax, eax
je 0x5b8364c9
cmp dword [eax], ecx
jae 0x5b8364c6
mov eax, 0x8007007a
jmp 0x5b836654
and dword [eax], 0
mov eax, dword [ebx + 0x1c]
push edx
add dword [eax + 0x28], 1
adc dword [eax + 0x2c], 0
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x5b89d478]
mov ecx, edi
call esi
xor edi, edi
mov esi, eax
cmp dword [ebx + 0x28], edi
je 0x5b836515
push edi
push esi
lea ecx, [ebx + 0x20]
call fcn.5b83564d
test al, al
jne 0x5b836515
mov ecx, dword [ebx + 0x1c]
add dword [ecx + 0x88], 1
adc dword [ecx + 0x8c], edi
jmp 0x5b836651
push 0x2db39507
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.5b87468e
mov dword [esp + 0x10], eax
test eax, eax
jne 0x5b83653b
mov eax, 0xad9f007
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
add esi, eax
xor edx, edx
mov eax, esi
mov dword [esp + 0x14], esi
div dword [ebx + 0x30]
imul edx, ecx
lea ecx, [esp + 0x30]
add edx, dword [ebx + 0x2c]
mov dword [esp + 0x24], edx
mov eax, dword [edx]
cmp eax, dword [ecx]
mov ecx, dword [esp + 0xc]
jne 0x5b836580
mov eax, dword [edx + 4]
lea ecx, [esp + 0x30]
cmp eax, dword [ecx + 4]
mov ecx, dword [esp + 0xc]
je 0x5b8365f3
push ecx
push edx
lea eax, [esp + 0x40]
push eax
call fcn.5b886ad0
mov eax, dword [esp + 0x44]
add esp, 0xc
or eax, dword [esp + 0x3c]
je 0x5b8365ef
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x20]
mov ecx, esi
push dword [esp + 0x28]
call dword [0x5b89d478]
mov ecx, edi
call esi
cmp eax, 0x8007000d
jne 0x5b8365de
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [ebx + 0x1c]
dec dword [eax + 0x78]
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x38], 1
adc dword [eax + 0x3c], edi
jmp 0x5b8365eb
test eax, eax
js 0x5b836633
je 0x5b83660a
cmp eax, 2
je 0x5b836651
xor edi, edi
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0xa
jae 0x5b836638
mov eax, dword [esp + 0x10]
jmp 0x5b83654b
mov eax, dword [esp + 0x28]
test eax, eax
je 0x5b83662f
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x5b83662f
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
lea eax, [esp + 0x38]
push ecx
push eax
push edx
call fcn.5b887050
add esp, 0xc
xor eax, eax
jmp 0x5b836654
lfence
jmp 0x5b836654
cmp dword [ebx + 0x28], edi
je 0x5b836647
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x70], 1
adc dword [eax + 0x74], edi
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x30], 1
adc dword [eax + 0x34], edi
xor eax, eax
inc eax
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.5b884340
mov esp, ebp
pop ebp
ret 0x10