Function at 0x5ab5c0
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e8953
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x62fda0]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
lea ecx, [esp + 0x8c]
call fcn.00506600
lea ecx, [esp + 0xcc]
mov dword [esp + 0x128], 0
call fcn.00506600
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 8]
mov edx, dword [ebx]
mov edx, dword [edx + 0x28]
lea ecx, [ebx + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, ebx
mov byte [esp + 0x12c], 1
call edx
mov esi, dword [eax + 4]
mov eax, dword [ebx]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, ebx
call edx
mov eax, dword [eax]
lea ecx, [ebx + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x10]
mov dword [esp + 0x80], esi
mov esi, dword [ebp + 0xc]
mov edx, dword [esi + 4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esi + 8]
lea ecx, [esi + 4]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x54], edx
mov edx, dword [eax + 0x28]
push ecx
mov ecx, esi
call edx
mov edi, dword [eax + 4]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x114]
push ecx
mov ecx, esi
call edx
mov eax, dword [eax]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x58]
lea ecx, [esi + 0xc]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x84], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x70], eax
mov dword [esp + 0x30], eax
mov ax, word [ebx + 0x20]
mov dword [esp + 0x88], edi
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x2c], ecx
mov dx, word [esi + 0x20]
xor ecx, ecx
and ax, 0xfff9
cmp ax, 1
setne cl
and dx, 0xfff9
mov eax, ecx
xor ecx, ecx
cmp dx, 1
setne cl
push eax
lea edx, [esp + 0x48]
lea eax, [esp + 0x80]
mov edi, ecx
mov ecx, dword [ebx + 0x1c]
push ecx
push edx
push eax
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00506c50
mov eax, dword [esi + 0x1c]
push edi
push eax
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0xe0]
call fcn.00506c50
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x98]
call fcn.00506d60
mov edi, eax
test edi, edi
jne 0x5aba91
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5ab7b7
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5ab8d0
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5ab7cd
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5ab860
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5ab7ff
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp 0x5abcf8
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5ab831
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp 0x5abcf8
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.00454440
test eax, eax
je 0x5abcf8
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov edi, 1
mov dword [eax + 4], ecx
jmp 0x5abcf8
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00506540
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5ab889
mov ecx, dword [esp + 0x18]
push esi
call fcn.00454440
test eax, eax
je 0x5ab89b
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
mov esi, dword [esi + 4]
mov edi, 1
mov dword [eax + 4], esi
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5abce4
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
lea eax, [eax + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
inc edi
mov dword [eax + 4], ecx
jmp 0x5abce4
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5ab8e2
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5ab954
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00506540
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5ab90d
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00454440
test eax, eax
je 0x5ab91f
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov esi, dword [esi + 4]
mov edi, 1
mov dword [eax + 4], esi
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5abce4
mov ecx, dword [ebp + 0x10]
lea eax, [ecx + edi*8]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
inc edi
mov dword [eax + 4], ecx
jmp 0x5abce4
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.00506540
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x5ab981
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov edi, 1
mov dword [esi + 4], eax
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5ab9aa
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
lea eax, [esi + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
inc edi
mov dword [eax + 4], ecx
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5ab9d3
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
lea eax, [esi + edi*8]
mov dword [eax], edx
mov ecx, dword [ecx + 4]
inc edi
mov dword [eax + 4], ecx
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5ab9fc
mov edx, dword [eax]
lea ecx, [esi + edi*8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
inc edi
mov dword [ecx + 4], edx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x14]
cmp edx, dword [ecx]
jne 0x5aba16
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 4]
je 0x5aba2c
mov eax, dword [esp + 0x1c]
push eax
call fcn.00454440
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5aba3e
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx]
lea edx, [esi + edi*8]
mov dword [edx], ecx
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
inc edi
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
cmp edx, dword [eax]
jne 0x5aba5e
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x5aba5e
mov edx, dword [eax]
lea esi, [esi + edi*8]
mov dword [esi], edx
mov ecx, dword [eax + 4]
inc edi
mov dword [esi + 4], ecx
cmp edi, 1
jne 0x5abce4
mov esi, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.00454440
test eax, eax
jne 0x5aba8a
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00454440
test eax, eax
je 0x5abcf8
xor edi, edi
jmp 0x5abcf8
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
cmp edi, 1
jne 0x5abcd6
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5ababc
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5abb33
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.00506540
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5abb1b
mov ecx, dword [esp + 0x18]
push esi
call fcn.00454440
test eax, eax
jne 0x5abb1b
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5abcf8
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 4]
mov edi, 2
mov dword [eax + 0xc], ecx
jmp 0x5abce9
mov ecx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov esi, dword [esi + 4]
mov edi, 2
mov dword [eax + 0xc], esi
jmp 0x5abce9
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5abb45
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5abba2
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xd4]
call fcn.00506540
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5abb1b
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.00454440
test eax, eax
jne 0x5abb1b
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5abcf8
mov edx, dword [esi]
mov eax, dword [ebp + 0x10]
mov dword [eax + 8], edx
mov esi, dword [esi + 4]
mov edi, 2
mov dword [eax + 0xc], esi
jmp 0x5abce9
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5abbd2
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5abcb9
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5abc02
mov ecx, dword [esp + 0x14]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5abcb9
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x94]
call fcn.00506540
test eax, eax
je 0x5abc32
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5abcb9
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xd4]
call fcn.00506540
test eax, eax
je 0x5abc5f
mov ecx, dword [esp + 0x18]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
add eax, 8
mov dword [eax], edx
mov ecx, dword [ecx + 4]
mov dword [eax + 4], ecx
jmp 0x5abcb9
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.00454440
test eax, eax
jne 0x5abca9
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.00454440
test eax, eax
jne 0x5abca9
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.00454440
test eax, eax
je 0x5abcf8
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi]
add eax, 8
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
jmp 0x5abcb9
mov eax, dword [ebp + 0x10]
mov edx, dword [esi]
add eax, 8
mov dword [eax], edx
mov esi, dword [esi + 4]
mov dword [eax + 4], esi
push eax
mov eax, dword [ebp + 0x10]
push eax
mov edi, 2
call fcn.004fa0c0
add esp, 8
test eax, eax
je 0x5abce9
mov edi, 1
jmp 0x5abcf8
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 2
jne 0x5abcf8
mov eax, dword [ebp + 0x10]
push ebx
push 2
push eax
call fcn.005299a0
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x128], 0
call fcn.00506660
lea ecx, [esp + 0x8c]
mov dword [esp + 0x128], 0xffffffff
call fcn.00506660
mov eax, edi
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret