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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x106
push 0
push 0
dec ecx
jne 0x482ff8
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x483552
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 8]
mov dword [esi + 0x2c], eax
mov byte [ebx + 0xb7], 0
push 0x800
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x38]
push eax
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 0x30]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00405068
mov eax, dword [ebx + 0xc]
mov dword [esi + 0x34], eax
test byte [ebx + 0x10], 1
setne al
mov byte [esi + 0x38], al
mov eax, dword [ebx + 0x14]
mov dword [esi + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x40], eax
mov byte [ebx + 0x137], 0
push 0x800
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0xb8]
push eax
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 0x44]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00405068
mov byte [ebx + 0x1b7], 0
push 0x800
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x138]
push eax
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 0x80]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00405068
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x4c], eax
mov byte [ebx + 0x237], 0
push 0x800
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x1b8]
push eax
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 0x84]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00405068
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x48313d
cmp eax, 1
jne 0x48315a
lea eax, [ebp - 4]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00404a50
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00482974
xor eax, eax
mov dword [esi + 0x50], eax
mov byte [esi + 0x54], 1
mov byte [esi + 0x55], 0
mov byte [ebx + 0x7b7], 0
push 0x800
lea eax, [ebp - 0x808]
push eax
push 0xffffffffffffffff
lea eax, [ebx + 0x738]
push eax
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
lea eax, [esi + 0x5c]
lea edx, [ebp - 0x808]
mov ecx, 0x400
call fcn.00404a50
cmp dword [esi + 0x5c], 0
je 0x4831c2
mov eax, dword [esi + 0x5c]
cmp byte [eax], 0x2f
jne 0x4831c2
lea eax, [esi + 0x5c]
mov ecx, 1
mov edx, 1
call fcn.00404d44
mov byte [ebx + 0x737], 0
lea eax, [ebp - 0x80c]
lea edx, [ebx + 0x238]
mov ecx, 0x500
call fcn.00404a38
mov eax, dword [ebp - 0x80c]
lea edx, [esi + 0x70]
call fcn.0040694c
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov byte [esi + 0x54], 1
test byte [ebx + 0x10], 2
setne al
mov byte [esi + 0x78], al
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x90], eax
mov eax, dword [ebx + 0x7b8]
mov dword [esi + 0x10a0], eax
mov eax, dword [ebx + 0x7bc]
xor edx, edx
mov dword [esi + 0x1098], eax
mov dword [esi + 0x109c], edx
push 0
push 0xa
mov eax, dword [esi + 0x1098]
mov edx, dword [esi + 0x109c]
call fcn.0040594c
mov dword [esi + 0x10a8], eax
mov dword [esi + 0x10ac], edx
cmp dword [esi + 0x10a0], 1
jne 0x48328c
cmp dword [esi + 0x109c], 0
jne 0x48327e
cmp dword [esi + 0x1098], 0
ja 0x48328c
jmp 0x483280
jg 0x48328c
mov dword [esi + 0x10b0], 0x10
jmp 0x483294
xor eax, eax
mov dword [esi + 0x10b0], eax
mov byte [ebx + 0xcbf], 0
lea eax, [ebp - 4]
lea edx, [ebx + 0x7c0]
mov ecx, 0x500
call fcn.00404a38
lea eax, [esi + 0x1118]
mov edx, dword [ebp - 4]
call fcn.00482c14
mov eax, dword [ebx + 0xcc8]
mov dword [esi + 0x111c], eax
mov eax, dword [ebx + 0xccc]
mov dword [esi + 0x1120], eax
mov eax, dword [ebx + 0xcd0]
mov dword [esi + 0x1124], eax
mov byte [ebx + 0xe53], 0
lea edx, [ebp - 0x810]
lea eax, [ebx + 0xdd4]
call fcn.0047d3ac
mov edx, dword [ebp - 0x810]
lea eax, [esi + 0x1128]
call fcn.00404a6c
mov byte [ebx + 0x1453], 0
lea edx, [ebp - 0x814]
lea eax, [ebx + 0x13d4]
call fcn.0047d3ac
mov edx, dword [ebp - 0x814]
lea eax, [esi + 0x1130]
call fcn.00404a6c
mov byte [ebx + 0x14d3], 0
lea edx, [ebp - 0x818]
lea eax, [ebx + 0x1454]
call fcn.0047d3ac
mov edx, dword [ebp - 0x818]
lea eax, [esi + 0x1134]
call fcn.00404a6c
mov eax, dword [ebx + 0x14d4]
mov dword [esi + 0x1138], eax
mov byte [ebx + 0x15db], 0
mov byte [ebx + 0x165b], 0
mov byte [ebx + 0x16db], 0
lea edx, [ebp - 0x81c]
lea eax, [ebx + 0x155c]
call fcn.0047d3ac
mov edx, dword [ebp - 0x81c]
lea eax, [esi + 0x113c]
call fcn.00404a6c
lea edx, [ebp - 0x820]
lea eax, [ebx + 0x15dc]
call fcn.0047d3ac
mov edx, dword [ebp - 0x820]
lea eax, [esi + 0x1140]
call fcn.00404a6c
lea edx, [ebp - 0x824]
lea eax, [ebx + 0x165c]
call fcn.0047d3ac
mov edx, dword [ebp - 0x824]
lea eax, [esi + 0x1144]
call fcn.00404a6c
mov eax, dword [ebx + 0x16dc]
push eax
lea eax, [esi + 0x1148]
mov ecx, 1
mov edx, dword [0x482434]
call fcn.00405db4
add esp, 4
mov eax, dword [ebx + 0x16dc]
dec eax
test eax, eax
jl 0x4834c9
inc eax
mov dword [ebp - 8], eax
xor edi, edi
mov eax, edi
shl eax, 6
add eax, edi
mov byte [ebx + eax*4 + 0x1763], 0
mov eax, edi
shl eax, 6
add eax, edi
mov byte [ebx + eax*4 + 0x17e3], 0
lea eax, [edi + edi*2]
mov edx, dword [esi + 0x1148]
mov ecx, edi
shl ecx, 6
add ecx, edi
cmp dword [ebx + ecx*4 + 0x16e0], 0
setne cl
mov byte [edx + eax*4], cl
lea eax, [ebp - 0x828]
mov edx, edi
shl edx, 6
add edx, edi
lea edx, [ebx + edx*4 + 0x16e4]
mov ecx, 0x80
call fcn.00404a38
mov eax, dword [ebp - 0x828]
lea edx, [edi + edi*2]
mov ecx, dword [esi + 0x1148]
lea edx, [ecx + edx*4 + 4]
call fcn.0040694c
lea eax, [ebp - 0x82c]
mov edx, edi
shl edx, 6
add edx, edi
lea edx, [ebx + edx*4 + 0x1764]
mov ecx, 0x80
call fcn.00404a38
mov eax, dword [ebp - 0x82c]
lea edx, [edi + edi*2]
mov ecx, dword [esi + 0x1148]
lea edx, [ecx + edx*4 + 8]
call fcn.0040694c
inc edi
dec dword [ebp - 8]
jne 0x483417
mov edx, ebx
mov eax, esi
call fcn.00482f28
mov eax, dword [ebx + 0x14d8]
mov dword [esi + 0x1154], eax
mov eax, dword [ebx + 0xe200]
mov dword [esi + 0x1158], eax
lea eax, [ebp - 0x830]
lea edx, [ebx + 0x14684]
mov ecx, pe_nt_image_headers32
call fcn.00404a38
mov eax, dword [ebp - 0x830]
lea edx, [esi + 0x115c]
call fcn.0040694c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483559
lea eax, [ebp - 0x830]
mov edx, 3
call fcn.004047ec
lea eax, [ebp - 0x824]
mov edx, 6
call fcn.00404f04
lea eax, [ebp - 0x80c]
call fcn.004047c8
lea eax, [ebp - 4]
call fcn.004047c8
ret