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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d67bd
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x70c0f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 4], 0
jne 0x5b87ae
jmp 0x5b8c89
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 8], 0
jne 0x5b87bc
jmp 0x5b8c89
mov edx, dword [ebp - 0x5c]
add edx, 0x580
mov dword [ebp - 0x60], edx
mov byte [ebp - 0x61], 0
lea ecx, [ebp - 0xd8]
call fcn.004534a0
mov ecx, dword [ebp - 0x5c]
mov edi, dword [ecx + 4]
add edi, 8
mov ecx, 8
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
mov byte [eax], 1
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x84]
mov dword [edx + 8], ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0x53c]
call fcn.004a35bd
movzx eax, al
test eax, eax
je 0x5b882e
push 0x6cff84
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
add ecx, 0x78
call fcn.00553ad0
jmp 0x5b8845
mov byte [ebp - 0x61], 1
push 0x6cff8c
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0x78
call fcn.00553ad0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov al, byte [edx + 0x5e]
mov byte [ecx + 0xf8], al
mov ecx, dword [ebp - 0x60]
mov dx, word [ecx + 0x60]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov word [ecx + 0xf6], dx
mov edx, dword [ebp - 0x60]
mov ax, word [edx + 0x62]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
mov word [edx + 0xf4], ax
mov eax, dword [ebp - 0x60]
mov cx, word [eax + 0x64]
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
mov word [eax + 0xf2], cx
mov ecx, dword [ebp - 0x60]
mov dx, word [ecx + 0x66]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov word [ecx + 0xf0], dx
mov edx, dword [ebp - 0x60]
add edx, 0x74
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
add ecx, 0x11c
call fcn.00553b70
lea ecx, [ebp - 0xac]
call fcn.00457fa0
mov dword [ebp - 4], 0
mov byte [ebp - 0xa0], 0
mov ecx, dword [ebp - 0x60]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0x12c
call fcn.004589d0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 4]
mov dword [ecx + 0xe0], eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x88
call fcn.004476b0
movzx ecx, al
test ecx, ecx
jne 0x5b8920
mov dword [ebp - 0x68], 1
jmp 0x5b8927
mov dword [ebp - 0x68], 0
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 8]
mov cl, byte [ebp - 0x68]
mov byte [eax + 0x34], cl
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 8]
movzx ecx, byte [eax + 0x34]
test ecx, ecx
je 0x5b8959
mov edx, dword [ebp - 0x60]
add edx, 0x88
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 8]
add ecx, 0x28
call fcn.00553b70
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
add ecx, 0x28
call fcn.00448890
mov edx, dword [ebp - 0x60]
add edx, 0x44
push edx
movzx eax, byte [ebp - 0x61]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.005bebd0
mov byte [ebp - 0x63], al
movzx ecx, byte [ebp - 0x63]
test ecx, ecx
jne 0x5b898c
mov byte [ebp - 0x62], 1
jmp 0x5b8990
mov byte [ebp - 0x62], 0
mov edx, dword [ebp - 0x60]
movzx eax, byte [edx + 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
movzx edx, byte [ecx + 0x95]
push edx
mov eax, dword [ebp - 0x60]
movzx ecx, byte [eax + 0x94]
push ecx
mov edx, dword [ebp - 0x60]
add edx, 0x50
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x60]
movzx eax, byte [edx + 9]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ecx + 0x10]
push eax
mov ecx, dword [ebp - 0x60]
movzx edx, byte [ecx + 8]
push edx
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp - 0x60]
movzx eax, byte [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x60]
mov edx, dword [ecx + 0x38]
push edx
mov eax, dword [ebp - 0x60]
add eax, 0x2c
push eax
movzx ecx, byte [ebp - 0x62]
push ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [edx + 0x28]
push eax
movzx ecx, byte [ebp - 0x61]
push ecx
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
add eax, 0x28
push eax
call fcn.00549ae0
add esp, 0x44
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x60]
mov cl, byte [eax + 0x5d]
mov byte [edx + 0xb4], cl
mov edx, dword [ebp - 0x60]
add edx, 0x44
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
add ecx, 0x28
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.005bed20
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 4]
mov byte [eax + 0xa4], 0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
add edx, 0x78
push edx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
add ecx, 0x6c
call fcn.00553b70
push 0
mov ecx, dword [ebp - 0x60]
add ecx, 0x68
push ecx
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0x48
call fcn.00533bf0
push 0x6cff94
lea ecx, [ebp - 0x28]
call fcn.00446660
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
add ecx, 0x54
call fcn.00447710
push eax
lea ecx, [ebp - 0x58]
call fcn.00446660
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
add ecx, 0x60
call fcn.00447710
push eax
lea ecx, [ebp - 0x40]
call fcn.00446660
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0x6c
call fcn.00447710
push eax
lea ecx, [ebp - 0x28]
call fcn.0044c0b0
push 0x6cff98
lea eax, [ebp - 0x28]
push eax
call fcn.00453f30
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5b8b0b
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0x78
call fcn.00447710
push eax
lea ecx, [ebp - 0x28]
call fcn.0044c0b0
push 0x6d00e8
lea ecx, [ebp - 0x40]
call fcn.004465f0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.0044c090
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 0x98]
mov dword [edx + 0x10c], ecx
mov edx, dword [ebp - 0x60]
cmp dword [edx + 0x98], 2
jne 0x5b8b52
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov byte [ecx + 0xf9], 1
lea ecx, [ebp - 0x9c]
call fcn.00459c70
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call fcn.00538070
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0xd4
call fcn.00447720
cmp dword [ebp - 0x9c], 1
je 0x5b8c44
lea ecx, [ebp - 0x7c]
call fcn.00553c20
mov byte [ebp - 4], 5
lea eax, [ebp - 0x7c]
push eax
mov ecx, dword [ebp - 0x60]
add ecx, 0x68
call fcn.00447710
push eax
call fcn.005584f0
add esp, 8
lea ecx, [ebp - 0x88]
call fcn.00553c20
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00537d50
add esp, 0x10
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x5c]
mov ecx, dword [ecx + 4]
add ecx, 0xd4
call fcn.00553b70
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00447680
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 4]
add ecx, 0xd4
call fcn.00447710
push eax
call fcn.00557b60
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
call fcn.00447680
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x7c]
call fcn.00447680
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x9c]
call fcn.00449f40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.00446610
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00446610
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00446610
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xac]
call fcn.00458010
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00495c0c
mov esp, ebp
pop ebp
ret