Function at 0x1005dbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x301b068
mov eax, dword fs:[0]
lea esp, [esp - 4]
pushfd
push ebx
neg ebx
btc ebx, 6
cmc
sahf
lea esp, [esp - 4]
pushfd
push eax
aam 0xa
push ebx
push ecx
add cl, bh
push edx
cdq
push ecx
cmc
clc
clc
cdq
pop ecx
xor edx, 0x3b5
mov ecx, eax
cbw
inc ebx
not al
push edx
lahf
xchg dl, bh
bsf eax, ebx
aam 0xa
btc ecx, 3
shl al, 0
pop edx
mov edx, dword [esp]
shl ah, 5
mov eax, dword [esp + 0xc]
bswap ecx
mov ecx, dword [esp + 4]
not ebx
mov ebx, dword [esp + 8]
stc
push ebx
mov ebx, dword [esp + 0x14]
push ebx
popfd
pop ebx
lea esp, [esp + 0x14]
mov dword [esp], eax
das
clc
lea esp, [esp - 4]
lea esp, [esp - 0x24]
pushfd
push edx
inc dh
mov edx, dword [esp]
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], ebx
pop ebx
lea edx, [ebx - 0x428d]
push eax
aad 0xa
bswap ebx
aad 0xa
cdq
sahf
or dx, 0x40b9
ror edx, 2
nop
dec eax
bt dx, 1
cdq
push ecx
and ch, bh
not dl
push ecx
and cl, bl
mov ebx, dword [esp + 0x2c]
xor edx, edx
mov eax, 0xadda
mov ecx, 0x215f
div ecx
bt eax, 4
inc eax
das
lea eax, [edx + 0x677f]
bswap edx
mov edx, dword [esp + 0x30]
nop
neg cl
bswap ecx
neg al
inc ax
inc ah
aad 0xa
test cx, bx
aas
mov eax, dword [esp + 0xc]
push eax
popfd
lea eax, [eax + ecx + 0x3bc5]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea esp, [esp + 0x34]
mov dword [esp], ecx
mov ecx, ecx
not ecx
not ebx
push edx
or al, dl
bswap edx
bswap ebx
test eax, edx
shr eax, 3
bswap ebx
dec bx
aam 0xa
bsf dx, dx
rol eax, 6
not ecx
push ecx
cbw
neg ebx
mov ebx, dword [esp + 0x10]
lea ecx, [ecx + edx + 0xffc]
bswap eax
daa
daa
not ecx
mov eax, dword [esp + 0x14]
push eax
popfd
mov ecx, dword [esp + 8]
pop edx
mov edx, dword [esp]
cbw
mov eax, dword [esp + 8]
lea esp, [esp + 0x14]
mov dword [esp], eax
sub esp, 0xc
lea esp, [esp - 4]
pushfd
stc
push ecx
neg cx
push ebx
not ebx
neg ebx
push eax
lea ebx, [eax + ecx - 0x736c]
lahf
neg bx
das
neg eax
test ebx, 0xffffe5ce
dec ecx
stc
inc ah
mov ax, 0x47ce
cbw
rol ecx, 2
aam 0xa
aas
bswap eax
not ax
sub ecx, 0x20a9
inc cx
bswap ebx
mov ebx, dword [esp + 4]
push edx
not edx
cmc
and ecx, ecx
inc cx
mov ax, 0x39
mov cx, 0x33
mul cx
mov eax, dword [esp + 0x10]
push eax
popfd
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
lea esp, [esp + 0x14]
mov dword [esp], ebx
push esi
push edi
mov eax, dword [0x3027864]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ebx, dword [ebp + 0xc]
cmp byte [ebx + 0x2d], 0
je 0x1005ddcc
push 0x301d588
call fcn.100637fe
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x14], ebx
call fcn.10052bc0
mov ecx, dword [ebx]
cmp byte [ecx + 0x2d], 0
je 0x1005ddeb
mov edi, dword [ebx + 8]
jmp 0x1005deb1
mov eax, dword [ebx + 8]
cmp byte [eax + 0x2d], 0
je 0x1005dea3
mov edi, ecx
jp 0x1005deb1
pushfd
push eax
aam 0xa
lea esp, [esp - 4]
pushfd
push eax
das
nop
cmc
push ebx
xadd ebx, eax
aas
das
lahf
cmc
aas
push ecx
lahf
shr ax, 3
bts ebx, 0
aam 0xa
clc
daa
pop eax
push edx
push edx
cwd
push ecx
add bh, 0x44
mov ebx, dword [esp + 0xc]
xor edx, edx
mov eax, 0xea3a
push ecx
mov ecx, 0x131a
div ecx
mov ecx, dword [esp]
mov edx, dword [esp + 8]
aas
das
push ecx
das
mov eax, dword [esp + 0x1c]
push eax
popfd
mov eax, dword [esp + 0x18]
lea esp, [esp + 0x20]
mov dword [esp], edx
cwd
push ecx
bswap ecx
mov ecx, dword [esp]
nop
push ebx
shl ebx, 1
aam 0xa
neg dx
inc al
not bl
bswap eax
clc
clc
das
cmc
inc eax
lea edx, [edx + 0x6fbc]
push ecx
aam 0xa
clc
inc eax
mov eax, dword [esp + 0x10]
xadd ebx, ebx
mov ebx, dword [esp + 4]
inc edx
mov edx, dword [esp + 0x14]
push edx
popfd
mov edx, dword [esp + 0xc]
lea esp, [esp + 0x18]
jnp 0x1005deb1
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 8]
cmp eax, ebx
jne 0x1005e094
cmp byte [edi + 0x2d], 0
mov esi, dword [ebx + 4]
jne 0x1005dec1
mov dword [edi + 4], esi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 4]
cmp dword [eax + 4], ebx
jne 0x1005e01e
mov dword [eax + 4], edi
jmp 0x1005e019
cmp byte [eax + 0x2c], 0
jne 0x1005def4
mov byte [eax + 0x2c], bl
push esi
mov byte [esi + 0x2c], 0
call fcn.10053da0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x10]
cmp byte [eax + 0x2d], 0
jne 0x1005df19
mov edx, dword [eax + 8]
cmp byte [edx + 0x2c], bl
jne 0x1005e0d8
mov edx, dword [eax]
cmp byte [edx + 0x2c], bl
jne 0x1005e0d8
mov byte [eax + 0x2c], 0
mov eax, dword [ecx + 4]
jmp 0x1005e0c5
mov dword [eax + 8], ecx
mov edx, dword [ebx + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 4]
cmp dword [ecx + 4], ebx
jne 0x1005dfa8
mov dword [ecx + 4], eax
jno 0x1005dfbd
pushfd
push eax
shl ax, 3
push edx
cwd
clc
nop
push ebx
lea edx, [ebx - 0x3398]
cwd
cmp bx, ax
neg edx
not edx
lahf
push ecx
bsf ecx, ebx
push ecx
pop edx
aad 0xa
xadd ebx, ebx
bswap edx
xadd ecx, edx
nop
neg ch
cwd
push ebx
inc bx
pop eax
bswap ecx
not bl
mov ebx, dword [esp + 4]
xor edx, edx
mov eax, 0x2b07
mov ecx, 0x4641
div ecx
mov eax, dword [esp + 0x10]
push eax
popfd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp]
mov edx, dword [esp + 8]
lea esp, [esp + 0x14]
jo 0x1005dfbd
mov ecx, dword [ebx + 4]
cmp dword [ecx], ebx
jne 0x1005dfba
mov dword [ecx], eax
jmp 0x1005dfbd
mov dword [ecx + 8], eax
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov dl, byte [ebx + 0x2c]
mov cl, byte [eax + 0x2c]
mov byte [eax + 0x2c], dl
mov byte [ebx + 0x2c], cl
mov eax, dword [ebp - 0x14]
mov bl, 1
jmp 0x1005e3a1
mov edx, dword [eax]
cmp byte [edx + 0x2c], bl
jne 0x1005dff0
mov edx, dword [eax + 8]
cmp byte [edx + 0x2c], bl
je 0x1005df15
mov edx, dword [eax + 8]
cmp byte [edx + 0x2c], bl
jne 0x1005e011
mov edx, dword [eax]
mov byte [edx + 0x2c], bl
push eax
mov byte [eax + 0x2c], 0
call fcn.10053da0
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [esi + 0x2c]
jmp 0x1005e30f
jmp 0x1005e030
cmp dword [esi], ebx
jne 0x1005e02d
mov dword [esi], edi
jmp 0x1005e030
mov dword [esi + 8], edi
mov eax, dword [ecx + 4]
cmp dword [eax], ebx
jne 0x1005e05d
cmp byte [edi + 0x2d], 0
je 0x1005e04c
mov eax, esi
jmp 0x1005e058
push edi
call fcn.10052b30
mov ecx, dword [ebp - 0x10]
add esp, 4
mov edx, dword [ecx + 4]
mov dword [edx], eax
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
cmp dword [ecx + 8], ebx
jne 0x1005dfcf
cmp byte [edi + 0x2d], 0
je 0x1005e080
mov eax, esi
mov dword [ecx + 8], eax
jmp 0x1005dfcf
push edi
call fcn.10052a80
mov ecx, dword [ebp - 0x18]
add esp, 4
mov dword [ecx + 8], eax
jmp 0x1005dfcf
mov dword [ecx + 4], eax
mov ecx, dword [ebx]
mov dword [eax], ecx
cmp eax, dword [ebx + 8]
jne 0x1005e0ab
mov esi, eax
jmp 0x1005df2a
cmp byte [edi + 0x2d], 0
mov esi, dword [eax + 4]
jne 0x1005e0bb
mov dword [edi + 4], esi
mov dword [esi], edi
mov ecx, dword [ebx + 8]
jmp 0x1005df21
mov edi, esi
mov esi, dword [esi + 4]
cmp edi, dword [eax + 4]
jne 0x1005e3b9
jmp 0x1005e2fb
mov edx, dword [eax]
cmp byte [edx + 0x2c], bl
jne 0x1005e0f8
mov edx, dword [eax + 8]
mov byte [edx + 0x2c], bl
push eax
mov byte [eax + 0x2c], 0
call fcn.10053ce0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x10]
mov dl, byte [esi + 0x2c]
mov byte [eax + 0x2c], dl
mov byte [esi + 0x2c], bl
mov eax, dword [eax]
lea esp, [esp - 4]
pushfd
push eax
aad 0xa
cmp cx, 4
daa
xor ax, 0xd
push edx
xor dx, dx
mov ax, 0x8c31
push ecx
mov cx, 0x46b4
div cx
bswap edx
and ax, cx
aaa
clc
dec cx
cdq
bts cx, 2
sahf
xor eax, ecx
mov ecx, dword [esp]
not eax
neg dx
bts eax, 0
mov eax, dword [esp + 8]
inc dl
mov edx, dword [esp + 0xc]
push edx
popfd
mov edx, dword [esp + 4]
lea esp, [esp + 0x10]
mov dword [esp], esi
jmp 0x1005e1ab
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
je 0x1005e173
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esi + 0x14], 8
jb 0x1005e188
mov eax, dword [esi]
push eax
call fcn.100645c0
add esp, 4
mov edx, dword [ebp - 0x14]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
push edx
mov word [esi], cx
call fcn.100645c0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
jmp 0x1005e3fb
mov byte [eax + 0x2c], bl
push 0x2ffd6fb
lea esp, [esp - 4]
pushfd
push ecx
rol ecx, 6
cmp ecx, 0x80
xor ecx, 0xfffffb6c
clc
xor ecx, ecx
push edx
bts dx, 6
cmp bl, bl
inc dl
push ecx
push ebx
xor edx, edx
push eax
mov eax, 0x99ec
mov ecx, 0x6be
div ecx
push ebx
shr bx, 0
btc cx, 3
bswap edx
push ecx
xor dx, dx
mov ax, 0x9fa1
mov cx, 0x4db0
div cx
daa
ror dh, 1
daa
aad 0xa
ror cx, 3
not edx
test edx, edx
aaa
not ebx
mov ebx, dword [esp + 4]
neg edx
mov edx, dword [esp + 0x14]
neg eax
xadd eax, ecx
mov eax, dword [esp + 8]
inc cl
mov ecx, dword [esp + 0x1c]
push ecx
popfd
mov ecx, dword [esp + 0x18]
lea esp, [esp + 0x20]
mov dword [esp], ebx
bswap ebx
pushfd
stc
push edx
neg dx
bsf ebx, ebx
mov ebx, dword [esp + 8]
not dl
ror dh, 6
cmp ch, al
push ecx
rol ch, 3
cwd
cwd
push edx
bt ecx, 0
pop edx
push eax
not ah
daa
cmc
bswap eax
aaa
dec ah
xor dx, dx
mov ax, 0x7822
mov cx, 0xc1a6
div cx
bswap edx
bts ecx, 0
cmc
cbw
bt dx, 1
shl dx, 0
ror cx, 3
mov ecx, dword [esp + 4]
shr ah, 4
mov eax, dword [esp + 0xc]
push eax
popfd
cdq
mov eax, dword [esp]
mov edx, dword [esp + 8]
push eax
lea esp, [esp + 0x18]
push 0x2ff31a0
pushfd
push eax
das
push edx
not edx
sahf
push ebx
ror bh, 5
not bx
push ecx
not cx
sar dl, 3
cdq
mov ax, 0x34
mov cx, 0xa
mul cx
test dl, cl
not ebx
aad 0xa
daa
bswap ecx
das
lahf
bsf edx, ecx
mov ecx, dword [esp]
aam 0xa
dec bx
mov ebx, dword [esp + 4]
cdq
aas
mov eax, dword [esp + 0x10]
push eax
popfd
mov eax, dword [esp + 0xc]
nop
cwd
mov edx, dword [esp + 8]
lea esp, [esp + 0x14]
ret
mov byte [edi + 0x2c], bl
mov esi, dword [ebp - 0x14]
add esi, 0xc
mov dword [ebp - 0x18], esi
mov eax, dword [esi + 0x1c]
jmp 0x1005e15e
mov byte [eax + 0x2c], dl
mov byte [esi + 0x2c], bl
mov eax, dword [eax + 8]
push esi
mov byte [eax + 0x2c], bl
push 0x2ffd797
lea esp, [esp - 0x28]
pushfd
push ebx
inc ebx
push eax
bswap eax
push edx
lea ebx, [eax + edx - 0x59]
mov eax, dword [esp]
mov dword [esp + 0x34], eax
pop eax
aam 0xa
inc dx
bswap edx
add ebx, 0x9e
bswap edx
not eax
cbw
nop
bt ebx, 0
xadd edx, eax
not al
aam 0xa
inc ebx
aaa
inc ebx
mov ebx, dword [esp + 4]
push ecx
dec cx
push eax
inc cl
bswap edx
dec ah
xchg ecx, eax
push ecx
neg cl
xor eax, eax
xor edx, edx
mov eax, 0xd639
mov ecx, 0x8580
div ecx
mov eax, dword [esp + 0x14]
push eax
popfd
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x3c]
nop
lea esp, [esp + 0x40]
jmp fcn.10053ce0
cmp byte [eax + 0x2c], bl
jne 0x1005e2fe
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 4]
cmp edi, dword [edx + 4]
je 0x1005e2fb
cmp byte [edi + 0x2c], bl
jne 0x1005e2fb
mov eax, dword [esi]
cmp edi, eax
jne 0x1005ded8
mov eax, dword [esi + 8]
cmp byte [eax + 0x2c], 0
jne 0x1005e3ec
mov byte [eax + 0x2c], bl
push esi
mov byte [esi + 0x2c], 0
call fcn.10053ce0
mov eax, dword [esi + 8]
mov ecx, dword [ebp - 0x10]
cmp byte [eax + 0x2d], 0
jne 0x1005df19
jmp 0x1005dfd9
add esp, 4
cmp eax, edi
jbe 0x1005e40a
dec eax
mov dword [ecx + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8