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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x1c
mov esi, ecx
xor bl, bl
mov al, byte [esi + 0x85]
or al, 4
mov byte [esi + 0x85], al
mov eax, dword [esi + 0x41]
test eax, eax
je 0x5b2fc9
mov dword [0x65e794], 0
mov dword [eax + 0x14], 0xffffffff
mov eax, dword [esi + 0x35]
test eax, eax
je 0x5b333a
mov al, byte [esi + 0x83]
and al, 1
cmp al, 1
jne 0x5b2fe7
mov ecx, esi
call fcn.005648e0
mov edx, dword [esi + 0x21]
mov eax, dword [edx + 0x7a]
cmp eax, 2
je 0x5b3332
movzx eax, word [edx + 0x30]
test eax, eax
jne 0x5b300a
movzx eax, word [edx + 0x3c]
test eax, eax
je 0x5b3114
call fcn.0051a480
mov dword [esp + 0x18], eax
mov edi, dword [esi + 0x79]
cmp edi, 9
je 0x5b3328
mov ebp, 1
lea ecx, [esp + 0xc]
push 0
call fcn.004ff268
mov edx, dword [0x661f10]
mov dword [esi + 0x71], edx
xor edx, edx
mov dl, byte [esi + 9]
and edx, 8
test edx, 0xfffffff8
jne 0x5b3050
test bl, bl
jne 0x5b3102
mov edx, dword [esi + 0x21]
movzx edx, word [edx + 0x30]
test edx, edx
je 0x5b3085
push 4
push esi
push 0
push esi
push edi
push edx
mov ecx, dword [esp + 0x30]
call fcn.0051be0c
mov ebp, eax
test ebp, ebp
jne 0x5b30b7
lea ecx, [esp + 0xc]
mov edx, dword [esp + 0x18]
lea edi, [edx + 0x38]
push edi
call fcn.004ffea4
jmp 0x5b30b7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
mov edx, dword [eax]
mov edi, dword [esi + 0x21]
movzx edi, word [edi + 0x3c]
push edi
mov ecx, eax
call dword [edx + 0x20]
mov edi, eax
test edi, edi
je 0x5b30b7
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
lea edx, [esp + 0xc]
push eax
push edx
mov ecx, edi
call fcn.004f7954
xor ebp, ebp
test bl, bl
je 0x5b30ee
mov edi, dword [esi + 0x2d]
mov edx, dword [edi + 0x2d]
mov edi, dword [edx + 0x29]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x2c]
xor edx, edx
mov dl, byte [eax + 0xb3]
and edx, 2
test edx, 0xfffffffe
je 0x5b30ee
mov edx, dword [edi + 0x25]
mov edi, dword [edx + 8]
mov edx, dword [edi + 0x50]
cmp edx, 2
jne 0x5b30ee
xor bl, bl
test ebp, ebp
jne 0x5b3102
mov al, byte [esi + 0x83]
and al, 1
cmp al, 1
je 0x5b31bb
lea ecx, [esp + 0xc]
call fcn.005003d8
mov ecx, dword [esp + 0x18]
call fcn.0051a4c0
mov ecx, esi
call fcn.00564a98
mov ecx, esi
call fcn.00564b08
xor eax, eax
mov al, byte [esi + 9]
and eax, 8
test eax, 0xfffffff8
je 0x5b316b
mov eax, dword [0x65e794]
test eax, eax
je 0x5b3156
mov eax, dword [esi + 0x41]
test eax, eax
je 0x5b32ec
mov dword [eax + 0x4e], 1
mov dword [0x65e794], 0
mov eax, dword [esi + 0x21]
mov edx, dword [eax + 0x6a]
cmp edx, 1
jle 0x5b316b
push 0
mov ecx, dword [esi + 0x31]
call fcn.004ecf10
mov ecx, dword [esi + 0x41]
test ecx, ecx
je 0x5b319a
xor eax, eax
mov al, byte [esi + 0x85]
and eax, 2
and eax, 0xfffffffe
cmp eax, 4
je 0x5b319a
mov eax, dword [esi + 0x79]
cmp eax, 5
je 0x5b32fb
cmp eax, 6
je 0x5b32fb
test ecx, ecx
je 0x5b31a5
mov dword [ecx + 0x14], 0
mov al, byte [esi + 0x85]
and al, 0xfb
mov byte [esi + 0x85], al
add esp, 0x1c
pop ebx
pop ebp
pop esi
pop edi
ret
xor eax, eax
mov al, byte [esi + 9]
and eax, 8
shr eax, 3
je 0x5b31d4
mov edx, dword [esi + 0x7d]
cmp edx, 0xd
je 0x5b326b
test bl, bl
je 0x5b31e2
mov ebp, dword [esi + 0x31]
mov dl, byte [ebp]
test dl, dl
jne 0x5b31fb
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00577d7c
push eax
mov ecx, esi
call fcn.004ee53c
jmp 0x5b3102
test eax, eax
je 0x5b3102
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x2c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x58]
cmp eax, 0xfffffffc
jne 0x5b3102
xor eax, eax
mov al, byte [esi + 0x85]
and eax, 2
test eax, 0xfffffffe
je 0x5b3245
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00577d7c
push eax
mov ecx, esi
call fcn.004ee53c
jmp 0x5b3102
mov eax, dword [esi + 0x21]
mov edx, dword [eax + 0x7e]
cmp edx, 2
jne 0x5b3102
xor eax, eax
mov al, byte [esi + 0x83]
and eax, 0x20
test eax, 0xffffffe0
jne 0x5b322c
jmp 0x5b3102
mov ebp, dword [esi + 0x21]
mov edx, dword [ebp + 0x7e]
test edx, edx
je 0x5b31d4
mov edx, dword [ebp + 0x4e]
test edx, edx
je 0x5b31d4
mov eax, dword [esi + 0x79]
cmp eax, 0xa
je 0x5b32a5
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00577d7c
push eax
mov ecx, esi
call fcn.004ee53c
jmp 0x5b3102
mov edx, dword [esi + 0x35]
test byte [edx + 9], 1
je 0x5b32d3
mov eax, dword [esp + 0xc]
cmp dword [eax], 2
jne 0x5b32bb
mov al, 1
jmp 0x5b32bd
xor al, al
mov edx, dword [edx + 0x17]
cmp edx, 2
jne 0x5b32c9
mov dl, 1
jmp 0x5b32cb
xor dl, dl
cmp al, dl
je 0x5b3102
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00577d7c
push eax
mov ecx, esi
call fcn.004ee53c
jmp 0x5b3102
mov ecx, esi
call fcn.0051ea0c
mov eax, dword [esi + 0x41]
jmp 0x5b3145
mov al, byte [esi + 0x83]
and al, 1
cmp al, 1
je 0x5b331a
add ecx, 0x24
mov edx, dword [esi + 0x31]
call fcn.004ee018
mov ecx, dword [esi + 0x41]
jmp 0x5b319a
push 0
mov ecx, esi
call fcn.00578928
mov ecx, dword [esi + 0x41]
jmp 0x5b3307
mov edi, 1
jmp 0x5b301f
mov ecx, dword [esi + 0x41]
jmp 0x5b319a
mov eax, dword [esi + 0x21]
mov eax, dword [eax + 0x4e]
test eax, eax
jle 0x5b34c5
push esi
push eax
mov ecx, dword [esi + 0x25]
call fcn.004f0c2c
mov dword [esi + 0x35], eax
test eax, eax
je 0x5b3437
movzx edx, word [eax + 0xa]
shl edx, 0x15
sar edx, 0x1b
cmp edx, dword [esi + 0x79]
jne 0x5b3423
test byte [eax + 9], 1
je 0x5b3387
mov ecx, esi
call fcn.005789e4
push eax
mov ecx, esi
call fcn.004ee53c
mov bl, 1
xor eax, eax
mov al, byte [esi + 9]
and eax, 8
test eax, 0xfffffff8
je 0x5b2fd4
mov eax, dword [esi + 0x79]
cmp eax, 5
je 0x5b33ab
cmp eax, 6
jne 0x5b2fd4
mov ecx, dword [esi + 0x25]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x13
jne 0x5b3411
push 0x808
mov ecx, dword [esi + 0x25]
call fcn.004ef848
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004eea74
push 0x809
mov ecx, dword [esi + 0x25]
call fcn.004ef848
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004eea74
push 0x80a
mov ecx, dword [esi + 0x25]
call fcn.004ef848
push 1
push 0x800
push esi
mov ecx, eax
call fcn.004eea74
jmp 0x5b2fd4
mov ecx, dword [esi + 0x25]
mov eax, dword [ecx]
call dword [eax + 0x78]
cmp eax, 0x1b
je 0x5b33b8
jmp 0x5b2fd4
push 0x74f73c
mov ecx, esi
call fcn.004f0a78
mov eax, dword [esi + 0x35]
jmp 0x5b3370
xor eax, eax
mov al, byte [esi + 9]
and eax, 8
test eax, 0xfffffff8
je 0x5b3452
push 0x74f770
mov ecx, esi
call fcn.004f0a78
lea ecx, [esp]
push 0
call fcn.004ff268
mov ecx, dword [esi + 0x25]
mov ebp, dword [ecx]
lea edx, [esp]
mov eax, dword [esi + 0x21]
push esi
push dword [eax + 0x4e]
push edx
call dword [ebp + 0x5c]
test eax, eax
jne 0x5b34b8
mov eax, dword [esi + 0x79]
cmp eax, 1
je 0x5b34a3
mov ecx, 0x74c060
push 1
push 0x1f
call fcn.004e2a54
mov ebx, eax
test ebx, ebx
je 0x5b349e
push esi
push dword [esi + 0x79]
push 0xffffffffffffffff
mov ecx, ebx
call fcn.00503074
jmp 0x5b34a0
xor ebx, ebx
mov dword [esi + 0x35], ebx
lea eax, [esp]
push eax
mov ecx, esi
call fcn.00577d7c
push eax
mov ecx, esi
call fcn.004ee53c
mov bl, 1
lea ecx, [esp]
call fcn.005003d8
jmp 0x5b2fd4
xor eax, eax
mov al, byte [esi + 9]
and eax, 8
test eax, 0xfffffff8
jne 0x5b34e0
mov eax, dword [esi + 0x79]
cmp eax, 1
je 0x5b2fd4
mov ecx, 0x74c060
push 1
push 0x1f
call fcn.004e2a54
mov ebp, eax
test ebp, ebp
je 0x5b3503
push esi
push dword [esi + 0x79]
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00503074
jmp 0x5b3505
xor ebp, ebp
mov dword [esi + 0x35], ebp
jmp 0x5b2fd4