Function at 0x4553e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4704d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov edx, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x2c]
xor eax, eax
mov ecx, esi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push edi
mov dword [ecx + 0xc], eax
push edx
lea ecx, [esp + 0x34]
call fcn.00405bf0
mov ebp, dword [esp + 0x30]
mov al, byte [ebp + 3]
cmp al, 0x20
mov dword [esp + 0x24], 0
je 0x455629
cmp al, 0x2c
je 0x455555
mov eax, dword [ebp - 8]
test eax, eax
jl 0x45570d
push 0x476cd8
push ebp
call fcn.0045931d
add esp, 8
test eax, eax
je 0x45570d
sub eax, ebp
mov ebx, eax
cmp ebx, 0xffffffff
je 0x45570d
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 2
lea ecx, [ebx + 2]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
add esp, 4
push 3
lea edx, [ebx + 5]
mov word [esi + 6], ax
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.00455030
mov edi, eax
call fcn.00454d20
lea ecx, [esp + 0x14]
mov word [esi + 2], ax
call fcn.00431be0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 2
lea edx, [ebx + 9]
push edx
push ecx
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov dword [esp + 0x1c], esp
mov word [esi], ax
mov eax, esp
push 2
lea ecx, [ebx + 0xc]
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov edx, esp
mov dword [esp + 0x1c], esp
mov word [esi + 8], ax
push 2
lea eax, [ebx + 0xf]
push eax
push edx
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov ecx, esp
mov dword [esp + 0x1c], esp
push 2
add ebx, 0x12
push ebx
push ecx
lea ecx, [esp + 0x40]
mov word [esi + 0xa], ax
call fcn.00455030
call fcn.00454f50
mov word [esi + 0xc], ax
xor eax, eax
mov ax, word [esi]
add esp, 4
mov dx, 0x32
cmp dx, ax
sbb ecx, ecx
and ecx, 0xffffff9c
add ecx, 0x7d0
add ecx, eax
mov word [esi], cx
jmp 0x45570d
push ecx
mov edx, esp
mov dword [esp + 0x30], esp
push 2
push 5
push edx
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
add esp, 4
push 3
mov word [esi + 6], ax
push 8
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x3c]
call fcn.00455030
mov edi, eax
call fcn.00454d20
mov word [esi + 2], ax
mov eax, dword [esp + 0x2c]
mov edx, dword [0x4810dc]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x4555c2
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x4555c2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push 4
push 0xc
push edx
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov dword [esp + 0x1c], esp
mov word [esi], ax
mov eax, esp
push 2
push 0x11
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov ecx, esp
mov dword [esp + 0x1c], esp
push 2
push 0x14
push ecx
lea ecx, [esp + 0x40]
mov word [esi + 8], ax
call fcn.00455030
call fcn.00454f50
mov edx, esp
mov dword [esp + 0x1c], esp
push 2
push 0x17
mov word [esi + 0xa], ax
push edx
jmp 0x4556f8
push ecx
mov eax, esp
mov dword [esp + 0x30], esp
push 2
push 8
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
add esp, 4
push 3
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
mov word [esi + 6], ax
call fcn.00455030
mov edi, eax
call fcn.00454d20
mov word [esi + 2], ax
mov eax, dword [esp + 0x10]
mov ecx, dword [0x4810dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x455696
add eax, 0xfffffff4
push eax
call dword [0x471300]
test eax, eax
jg 0x455696
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
push eax
call fcn.004590cf
add esp, 4
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
push 4
push 0x14
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
mov ecx, esp
mov dword [esp + 0x1c], esp
push 2
push 0xb
push ecx
lea ecx, [esp + 0x40]
mov word [esi], ax
call fcn.00455030
call fcn.00454f50
mov edx, esp
mov dword [esp + 0x1c], esp
push 2
push 0xe
push edx
lea ecx, [esp + 0x40]
mov word [esi + 8], ax
call fcn.00455030
call fcn.00454f50
mov dword [esp + 0x1c], esp
mov word [esi + 0xa], ax
mov eax, esp
push 2
push 0x11
push eax
lea ecx, [esp + 0x40]
call fcn.00455030
call fcn.00454f50
add esp, 4
mov word [esi + 0xc], ax
cmp word [esi], 0
mov eax, dword [0x4810dc]
mov dword [esp + 0x24], 0xffffffff
je 0x455758
lea ecx, [ebp - 0xc]
cmp ecx, eax
je 0x45573e
lea esi, [ebp - 0xc]
push esi
call dword [0x471300]
test eax, eax
jg 0x45573e
push esi
call fcn.004590cf
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x455776
lea esi, [ebp - 0xc]
push esi
call dword [0x471300]
test eax, eax
jg 0x455776
push esi
call fcn.004590cf
add esp, 4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 8