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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x629943
mov eax, dword fs:[0]
push eax
sub esp, 0x110
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
lea ecx, [esp + 0x8c]
call fcn.0052f420
lea ecx, [esp + 0xcc]
mov dword [esp + 0x128], 0
call fcn.0052f420
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.0052fa80
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.0052fa80
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea ecx, [esp + 0x98]
call fcn.0052fb90
mov edi, eax
test edi, edi
jne 0x5e22a1
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5e1fc7
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e20e0
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e1fdd
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e2070
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.0052f330
test eax, eax
je 0x5e200f
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 0x5e2508
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.0052f330
test eax, eax
je 0x5e2041
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 0x5e2508
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x18]
push eax
mov ecx, esi
call fcn.0040ad00
test eax, eax
je 0x5e2508
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 0x5e2508
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.0052f330
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5e2099
mov ecx, dword [esp + 0x18]
push esi
call fcn.0040ad00
test eax, eax
je 0x5e20ab
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.0052f330
test eax, eax
je 0x5e24f4
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 0x5e24f4
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e20f2
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e2164
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.0052f330
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5e211d
mov ecx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0040ad00
test eax, eax
je 0x5e212f
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.0052f330
test eax, eax
je 0x5e24f4
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 0x5e24f4
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.0052f330
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x5e2191
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.0052f330
test eax, eax
je 0x5e21ba
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.0052f330
test eax, eax
je 0x5e21e3
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.0052f330
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5e220c
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 0x5e2226
mov edx, dword [esp + 0x24]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 4]
je 0x5e223c
mov eax, dword [esp + 0x1c]
push eax
call fcn.0040ad00
test eax, eax
mov eax, dword [esp + 0x18]
je 0x5e224e
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 0x5e226e
mov ecx, dword [ecx + 4]
cmp ecx, dword [eax + 4]
jne 0x5e226e
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 0x5e24f4
mov esi, dword [ebp + 0x10]
push eax
mov ecx, esi
call fcn.0040ad00
test eax, eax
jne 0x5e229a
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040ad00
test eax, eax
je 0x5e2508
xor edi, edi
jmp 0x5e2508
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 0x5e24e6
movzx eax, word [ebx + 0x20]
test al, 2
jne 0x5e22cc
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e2343
push 0
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x94]
call fcn.0052f330
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x5e232b
mov ecx, dword [esp + 0x18]
push esi
call fcn.0040ad00
test eax, eax
jne 0x5e232b
push eax
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0xd4]
call fcn.0052f330
test eax, eax
je 0x5e2508
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 0x5e24f9
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 0x5e24f9
movzx eax, word [esi + 0x20]
test al, 2
jne 0x5e2355
cwde
and eax, 0xfffffffb
cmp ax, 2
jne 0x5e23b2
push 0
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0xd4]
call fcn.0052f330
mov esi, dword [esp + 0x14]
test eax, eax
jne 0x5e232b
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0040ad00
test eax, eax
jne 0x5e232b
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x94]
call fcn.0052f330
test eax, eax
je 0x5e2508
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 0x5e24f9
push 0
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x94]
call fcn.0052f330
test eax, eax
je 0x5e23e2
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 0x5e24c9
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0xd4]
call fcn.0052f330
test eax, eax
je 0x5e2412
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 0x5e24c9
push 0
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x94]
call fcn.0052f330
test eax, eax
je 0x5e2442
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 0x5e24c9
push 0
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xd4]
call fcn.0052f330
test eax, eax
je 0x5e246f
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 0x5e24c9
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
push eax
mov ecx, esi
call fcn.0040ad00
test eax, eax
jne 0x5e24b9
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.0040ad00
test eax, eax
jne 0x5e24b9
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.0040ad00
test eax, eax
je 0x5e2508
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 0x5e24c9
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.00521130
add esp, 8
test eax, eax
je 0x5e24f9
mov edi, 1
jmp 0x5e2508
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
cmp edi, 2
jne 0x5e2508
mov eax, dword [ebp + 0x10]
push ebx
push 2
push eax
call fcn.0055c580
add esp, 0xc
lea ecx, [esp + 0xcc]
mov byte [esp + 0x128], 0
call fcn.0052f480
lea ecx, [esp + 0x8c]
mov dword [esp + 0x128], 0xffffffff
call fcn.0052f480
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