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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x5b89bae4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
push ebx
mov dword [ebp - 0x244], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x240], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x224], ecx
push esi
push edi
test eax, eax
je 0x5b83684d
and dword [eax], 0
mov edi, dword [ebx + 8]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x5b89d478]
mov ecx, edi
call esi
push 0x2db39507
mov esi, eax
lea ecx, [ebp - 0x218]
push 4
pop edx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x218], esi
call fcn.5b87468e
mov ecx, eax
mov dword [ebp - 0x218], eax
test ecx, ecx
jne 0x5b83689a
mov ecx, 0xad9f007
mov dword [ebp - 0x218], ecx
mov eax, dword [ebx + 0x1c]
xor edx, edx
push 0xa
mov edi, dword [ebx + 0x34]
mov dword [ebp - 0x250], esi
mov eax, dword [eax + 0x50]
add eax, ecx
mov dword [ebp - 0x214], edi
pop ecx
div ecx
xor eax, eax
mov cl, al
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x210], eax
mov byte [ebp - 0x209], cl
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov eax, dword [ebp - 0x234]
lea esi, [ebp - 0x230]
add eax, dword [ebp - 0x218]
xor edx, edx
mov dword [ebp - 0x234], eax
div dword [ebx + 0x30]
mov eax, edx
imul edx, edi
mov dword [ebp - 0x21c], eax
add edx, dword [ebx + 0x2c]
mov dword [ebp - 0x248], edx
mov eax, dword [edx]
cmp eax, dword [esi]
mov esi, dword [ebp - 0x210]
jne 0x5b836935
mov eax, dword [edx + 4]
lea esi, [ebp - 0x230]
cmp eax, dword [esi + 4]
mov esi, dword [ebp - 0x210]
je 0x5b836a60
push edi
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.5b886ad0
mov eax, dword [ebp - 0x208]
add esp, 0xc
or eax, dword [ebp - 0x204]
mov cl, byte [ebp - 0x209]
je 0x5b836a60
test cl, cl
jne 0x5b83697c
mov eax, dword [ebp - 0x23c]
cmp dword [ebp - 0x220], eax
jne 0x5b83697c
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x210], esi
mov edx, dword [ebp - 0x240]
test edx, edx
je 0x5b8369d4
mov edi, dword [ebx + 8]
mov eax, dword [edi]
mov esi, dword [eax + 0x14]
lea eax, [ebp - 0x208]
push eax
push edx
push dword [ebp - 0x244]
mov ecx, esi
call dword [0x5b89d478]
mov ecx, edi
call esi
cmp eax, 0x8007000d
je 0x5b836a1f
cmp eax, 2
je 0x5b836a1f
test eax, eax
js 0x5b836a9c
je 0x5b836a81
mov cl, byte [ebp - 0x209]
mov esi, dword [ebp - 0x210]
mov edi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x220]
inc eax
mov dword [ebp - 0x220], eax
cmp eax, 0xa
jb 0x5b8368e0
mov edi, dword [ebp - 0x238]
test cl, cl
jne 0x5b836aa4
test edi, edi
je 0x5b836a0a
mov eax, dword [ebp - 0x224]
test eax, eax
jne 0x5b836aaa
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x58], 1
adc dword [eax + 0x5c], 0
mov eax, 0x8007025a
jmp 0x5b836b32
mov eax, dword [ebp - 0x248]
mov cl, byte [ebp - 0x209]
and dword [eax], 0
and dword [eax + 4], 0
mov eax, dword [ebx + 0x1c]
dec dword [eax + 0x78]
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x38], 1
adc dword [eax + 0x3c], 0
test cl, cl
jne 0x5b8369c8
mov esi, dword [ebp - 0x21c]
inc cl
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x209], cl
jmp 0x5b8369ce
test cl, cl
jne 0x5b8369d4
mov esi, dword [ebp - 0x21c]
inc cl
mov dword [ebp - 0x210], esi
mov byte [ebp - 0x209], cl
jmp 0x5b8369d4
mov eax, dword [ebx + 0x1c]
add dword [eax + 0x90], 1
adc dword [eax + 0x94], 0
mov eax, 0x800700b7
jmp 0x5b836b32
lfence
jmp 0x5b836b32
mov eax, dword [ebp - 0x224]
mov edx, dword [ebp - 0x214]
imul esi, edx
add esi, dword [ebx + 0x2c]
test cl, cl
jne 0x5b836af7
push edx
push esi
push eax
call fcn.5b886ad0
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x230]
and dword [ebp - 0x230], 0
add esp, 0xc
and dword [ebp - 0x22c], 0
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x5b836aed
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
je 0x5b836afd
mov eax, dword [ebp - 0x214]
mov dword [edi], eax
jmp 0x5b836afd
mov eax, dword [ebx + 0x1c]
inc dword [eax + 0x78]
mov eax, dword [ebx + 0x1c]
push dword [ebp + 0x10]
push dword [ebp - 0x24c]
add dword [eax + 0x50], 1
push esi
adc dword [eax + 0x54], 0
call fcn.5b886ad0
add esp, 0xc
cmp dword [ebx + 0x28], 0
je 0x5b836b30
push 1
push dword [ebp - 0x250]
lea ecx, [ebx + 0x20]
call fcn.5b83564d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.5b884340
leave
ret 0x18