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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d8b3
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x682d00]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
lea ecx, [esp + 0x8c]
call fcn.00532020
lea ecx, [esp + 0xcc]
mov dword [esp + 0x128], 0
call fcn.00532020
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.00532680
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.00532680
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x98]
call fcn.00532790
mov edi, eax
test edi, edi
jne 0x5e5921
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5e5647
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e5760
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e565d
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e56f0
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00531f30
test eax, eax
je 0x5e568f
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 0x5e5b88
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00531f30
test eax, eax
je 0x5e56c1
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 0x5e5b88
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040b250
test eax, eax
je 0x5e5b88
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 0x5e5b88
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00531f30
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5e5719
mov ecx, dword [esp + 0x18]
push esi
call fcn.0040b250
test eax, eax
je 0x5e572b
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.00531f30
test eax, eax
je 0x5e5b74
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 0x5e5b74
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e5772
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e57e4
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00531f30
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5e579d
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040b250
test eax, eax
je 0x5e57af
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.00531f30
test eax, eax
je 0x5e5b74
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 0x5e5b74
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.00531f30
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x5e5811
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.00531f30
test eax, eax
je 0x5e583a
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.00531f30
test eax, eax
je 0x5e5863
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.00531f30
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5e588c
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 0x5e58a6
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 4]
je 0x5e58bc
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040b250
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5e58ce
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 0x5e58ee
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x5e58ee
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 0x5e5b74
mov esi, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.0040b250
test eax, eax
jne 0x5e591a
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b250
test eax, eax
je 0x5e5b88
xor edi, edi
jmp 0x5e5b88
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 0x5e5b66
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5e594c
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e59c3
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.00531f30
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5e59ab
mov ecx, dword [esp + 0x18]
push esi
call fcn.0040b250
test eax, eax
jne 0x5e59ab
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xd4]
call fcn.00531f30
test eax, eax
je 0x5e5b88
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 0x5e5b79
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 0x5e5b79
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e59d5
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e5a32
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xd4]
call fcn.00531f30
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5e59ab
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040b250
test eax, eax
jne 0x5e59ab
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x94]
call fcn.00531f30
test eax, eax
je 0x5e5b88
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 0x5e5b79
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.00531f30
test eax, eax
je 0x5e5a62
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 0x5e5b49
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.00531f30
test eax, eax
je 0x5e5a92
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 0x5e5b49
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x94]
call fcn.00531f30
test eax, eax
je 0x5e5ac2
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 0x5e5b49
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xd4]
call fcn.00531f30
test eax, eax
je 0x5e5aef
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 0x5e5b49
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040b250
test eax, eax
jne 0x5e5b39
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0040b250
test eax, eax
jne 0x5e5b39
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040b250
test eax, eax
je 0x5e5b88
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 0x5e5b49
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.00523bf0
add esp, 8
test eax, eax
je 0x5e5b79
mov edi, 1
jmp 0x5e5b88
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 2
jne 0x5e5b88
mov eax, dword [ebp + 0x10]
push ebx
push 2
push eax
call fcn.0055fa40
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x128], 0
call fcn.00532080
lea ecx, [esp + 0x8c]
mov dword [esp + 0x128], 0xffffffff
call fcn.00532080
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