Function at 0x46e2e0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f97b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x532a80]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x44]
mov dword [esp + 0x4c], 0
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46e324
mov dword [esi + 0x40], 0xa
jmp 0x46e5da
mov ebx, 1
lea ecx, [esp + 0x14]
push ebx
or edi, 0xffffffff
push ecx
push eax
mov ecx, 0x538180
mov dword [esp + 0x20], edi
call fcn.0046d210
test eax, eax
jne 0x46e391
mov eax, dword [esi + 0x44]
lea edx, [esp + 0xc]
push eax
push 0x120
push edx
call fcn.004dca01
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, esi
push ebx
push eax
call fcn.0046edb0
mov eax, dword [esi + 0x44]
lea ecx, [esp + 0x14]
push 0
push ecx
push eax
mov ecx, 0x538180
call fcn.0046d210
test eax, eax
jne 0x46e391
mov dword [esi + 0x40], 0xa
mov dword [esp + 0x4c], edi
jmp 0x46e5e2
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.004529b0
add esp, 8
mov edx, dword [eax]
mov ecx, dword [esi + 0x44]
xor eax, eax
push edx
mov ax, word [esi + 0x48]
mov byte [esp + 0x50], bl
push eax
push ecx
lea ecx, [esp + 0x18]
push 0x130
push ecx
call fcn.004dca01
add esp, 0x14
lea ecx, [esp + 0x18]
mov byte [esp + 0x4c], 0
call fcn.004dfa8d
mov edx, dword [esp + 0xc]
push ebx
push edx
mov ecx, esi
call fcn.0046edb0
mov cx, word [esi + 0x48]
xor eax, eax
mov dword [esp + 0x34], eax
push ecx
mov dword [esp + 0x3c], eax
mov word [esp + 0x38], 2
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call dword [0x504718]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
mov word [esp + 0x36], ax
mov eax, dword [esi]
push 0x10
push ecx
mov ecx, esi
mov dword [esp + 0x40], edx
call dword [eax + 0x14]
cmp eax, edi
jne 0x46e435
mov dword [esi + 0x40], 0xc
mov dword [esp + 0x4c], edi
jmp 0x46e5e2
lea edx, [esp + 0xc]
push 0x13b
push edx
call fcn.004dca01
mov eax, dword [esp + 0x14]
add esp, 8
mov ecx, esi
push ebx
push eax
call fcn.0046edb0
mov edi, dword [esp + 0x54]
lea ecx, [esp + 0x54]
push edi
push ecx
mov ecx, esi
call fcn.0046ddc0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 2
call fcn.004dfbc6
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 0
call fcn.004dfa8d
mov edx, dword [esp + 0xc]
push ebx
push edx
mov ecx, esi
call fcn.0046edb0
mov eax, dword [esi + 0x52]
mov edx, dword [esi]
neg eax
sbb al, al
push 0
and eax, 2
push 3
mov byte [esp + 0x1a], al
lea eax, [esp + 0x18]
push eax
mov ecx, esi
mov byte [esp + 0x1c], 5
mov byte [esp + 0x1d], bl
call dword [edx + 0x10]
cmp eax, 3
jne 0x46e5d7
mov edx, dword [esi]
push 0
lea eax, [esp + 0x14]
push 2
push eax
mov ecx, esi
call dword [edx + 0xc]
cmp eax, 2
jne 0x46e5d7
cmp byte [esp + 0x10], 5
jne 0x46e5d7
mov al, byte [esp + 0x11]
test al, al
je 0x46e511
cmp al, 2
jne 0x46e5d7
mov eax, dword [esi + 0x52]
test eax, eax
je 0x46e505
mov ecx, esi
call fcn.0046dc70
test eax, eax
jne 0x46e511
mov dword [esi + 0x40], 0xb
jmp 0x46e5da
mov ecx, dword [edi + 4]
mov dx, word [edi + 2]
mov eax, dword [esi]
mov dword [esp + 0x20], ecx
push 0
lea ecx, [esp + 0x20]
push 0xa
push ecx
mov ecx, esi
mov byte [esp + 0x28], 5
mov byte [esp + 0x2b], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0
mov word [esp + 0x30], dx
call dword [eax + 0x10]
cmp eax, 0xa
jne 0x46e5d7
mov edx, dword [esi]
push 0
push eax
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call dword [edx + 0xc]
cmp eax, 0xa
jne 0x46e5d7
cmp byte [esp + 0x28], 5
jne 0x46e5d7
mov eax, dword [esp + 0x29]
mov ecx, eax
and ecx, 0xff
test al, al
mov dword [esi + 0x40], ecx
jne 0x46e5da
mov edx, dword [esp + 0x2c]
mov ax, word [esp + 0x30]
mov dword [esi + 0x1c], edx
mov word [esi + 0x1a], ax
mov word [esi + 0x18], 2
mov edx, dword [edi]
lea ecx, [esi + 0x28]
mov dword [esp + 0x4c], 0xffffffff
mov dword [ecx], edx
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov edx, dword [edi + 8]
mov dword [ecx + 8], edx
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], 0
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0xc]
call fcn.004dfa8d
pop edi
mov eax, ebx
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
add esp, 0x44
ret 8
mov dword [esi + 0x40], ebx
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.004dfa8d
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8