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

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [edx + 0x10]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x2c], ebx
push edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x44], edi
mov eax, dword [esi + 8]
mov dword [esp + 0x1c], eax
mov al, byte [edi]
cmp al, 0xad
jne 0x5bb847
mov al, byte [edi + 2]
cmp al, 0xae
jne 0x5bb852
mov eax, dword [edi + 0x14]
mov ecx, dword [eax]
jmp 0x5bb865
cmp al, 0x88
jne 0x5bb860
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
jmp 0x5bb865
mov ecx, 1
dec dword [esi + 0x38]
mov eax, dword [edx + 4]
mov ebp, dword [esi + 0x38]
shr eax, 9
and eax, 1
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x24], 0
mov dword [esp + 0x34], eax
jne 0x5bbaa1
mov dl, byte [ebx]
mov al, dl
cmp al, 0xad
jne 0x5bb891
mov al, byte [ebx + 2]
cmp al, 0xae
jne 0x5bb89c
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
jmp 0x5bb8af
cmp al, 0x88
jne 0x5bb8aa
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
jmp 0x5bb8af
mov eax, 1
cmp ecx, eax
je 0x5bb8c9
push 0x7e33b8
push esi
call fcn.0058bd80
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
or byte [esp + 0x54], 0x20
mov ecx, 0x38
mov dh, byte [esp + 0x50]
cmp dh, 0x37
movzx eax, dh
mov dword [esp + 0x2c], 0x36
cmovne ecx, eax
mov dword [esp + 0x20], 0
cmp cl, 0x39
movzx eax, cl
cmove eax, dword [esp + 0x2c]
cmp byte [edi], 0x88
mov dword [esp + 0x18], eax
jne 0x5bb913
mov edx, edi
mov ecx, esi
call fcn.005beab0
mov dl, byte [ebx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
cmp dl, 0x88
jne 0x5bb92d
mov edx, ebx
mov ecx, esi
call fcn.005beab0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
dec eax
mov dword [esp + 0x40], eax
nop dword [eax + eax]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], 0
push eax
push dword [esp + 0x28]
mov edx, edi
mov ecx, esi
push ebx
call fcn.005bb7b0
mov edx, dword [esp + 0x40]
mov edi, eax
lea eax, [esp + 0x3c]
mov ecx, esi
push eax
lea eax, [esp + 0x4c]
push eax
push dword [esp + 0x3c]
push ebx
call fcn.005bb7b0
push dword [esp + 0x54]
movzx ecx, byte [esp + 0x78]
mov edx, dword [esp + 0x60]
push ecx
push dword [esp + 0x74]
mov ecx, esi
push eax
mov eax, dword [esp + 0x48]
push edi
movzx eax, al
push eax
push dword [esp + 0x70]
call fcn.005bb590
mov ecx, dword [esp + 0x64]
add esp, 0x3c
test ecx, ecx
je 0x5bb9ca
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x5bb9ca
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x5bb9e6
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x5bb9e6
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
cmp ebx, dword [esp + 0x40]
je 0x5bba76
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push ebp
cmp al, 0x35
jne 0x5bba1d
push dword [esp + 0x50]
mov edx, 0x14
call fcn.005a7580
or byte [esp + 0x5c], 8
add esp, 8
mov edi, dword [esp + 0x44]
inc ebx
jmp 0x5bb940
cmp al, 0x34
jne 0x5bba41
push dword [esp + 0x50]
mov edx, 0x12
call fcn.005a7580
or byte [esp + 0x5c], 8
add esp, 8
mov edi, dword [esp + 0x44]
inc ebx
jmp 0x5bb940
push 0
mov edx, 0x3a
call fcn.005a7580
mov ecx, dword [esp + 0x1c]
add esp, 8
mov eax, dword [esp + 0x18]
add ecx, 0xfffffffe
mov edi, dword [esp + 0x44]
cmp ebx, ecx
movzx edx, al
movzx eax, byte [esp + 0x50]
cmove edx, eax
inc ebx
mov byte [esp + 0x18], dl
jmp 0x5bb940
mov edx, dword [esp + 0x1c]
not ebp
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x5bba98
push ebp
call fcn.005a7b60
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, dword [ecx + 0x40]
mov eax, dword [edx + 0x6c]
mov dword [ecx + ebp*4], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret