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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff84
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404030
xor eax, eax
push ebp
push 0x481fa7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x7c], 0x57
mov byte [ebp - 0x7b], 0x50
mov byte [ebp - 0x7a], 0x42
mov byte [ebp - 0x79], 0x32
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov eax, dword [eax + 0x9c48]
mov dword [ebp - 0x14], eax
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov eax, dword [eax + 0x9c4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x70], eax
mov eax, dword [esi + 0x30]
mov edx, dword [eax + 4]
mov dword [ebp - 0x6c], edx
mov dl, byte [eax + 0x14]
mov byte [ebp - 0x68], dl
mov al, byte [eax + 0x18]
mov byte [ebp - 0x67], al
cmp byte [esi + 0xc], 0
je 0x481928
mov byte [ebp - 0x66], 1
jmp 0x48192c
mov byte [ebp - 0x66], 0
mov eax, dword [ebp + 8]
call fcn.0047a9d0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
mov dl, 1
mov eax, dword [0x44e534]
call fcn.0044e68c
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x2c]
call fcn.0044e73c
lea edx, [ebp - 0x7c]
mov ecx, 0x20
mov eax, dword [ebp - 0x2c]
call fcn.0044e7a4
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov ebx, dword [eax + 0x9c48]
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
imul ebx, dword [eax + 0x9c4c]
mov eax, ebx
shl eax, 2
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov ebx, dword [eax + 0x9c48]
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
imul ebx, dword [eax + 0x9c4c]
mov eax, ebx
shl eax, 2
lea eax, [eax + eax*2]
call fcn.00402724
mov dword [ebp - 0x48], eax
mov dl, 1
mov eax, dword [0x46a3bc]
call fcn.0046a7dc
mov dword [ebp - 0x54], eax
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov eax, dword [eax + 0x9c4c]
push eax
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov edx, dword [eax + 0x9c48]
mov eax, dword [ebp - 0x54]
pop ecx
mov ebx, dword [eax]
call dword [ebx]
xor eax, eax
mov al, byte [ebp - 0x68]
test eax, eax
jl 0x481f4f
inc eax
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x20], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7c0
mov byte [ebp - 0xf], al
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7c8
sub al, 1
jb 0x481a3e
jne 0x481a42
mov byte [ebp - 0xe], 1
jmp 0x481a42
mov byte [ebp - 0xe], 0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
sub al, 1
jb 0x481a5d
je 0x481a63
dec al
je 0x481a69
dec al
je 0x481a6f
jmp 0x481a73
mov byte [ebp - 0x10], 0
jmp 0x481a73
mov byte [ebp - 0x10], 1
jmp 0x481a73
mov byte [ebp - 0x10], 2
jmp 0x481a73
mov byte [ebp - 0x10], 3
xor eax, eax
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x10]
mov ecx, 8
mov eax, dword [ebp - 0x2c]
call fcn.0044e7a4
mov eax, dword [ebp - 8]
sub eax, 1
jae 0x481f43
push 0
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e798
xor ecx, ecx
mov edx, dword [ebp - 0x54]
call fcn.0046e878
mov eax, dword [ebp - 0x54]
call fcn.00456358
mov dword [ebp - 0x4c], eax
xor eax, eax
mov dword [ebp - 0x38], eax
xor edi, edi
mov byte [ebp - 0x42], 0
jmp 0x481f22
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov ebx, dword [eax + 0x9c48]
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
imul ebx, dword [eax + 0x9c4c]
sub ebx, dword [ebp - 0x38]
dec ebx
jne 0x481bb5
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481b50
mov eax, dword [ebp - 0x38]
shl eax, 2
add eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
and ebx, 0xff000000
mov eax, dword [ebp - 0x48]
add eax, edi
mov edx, eax
mov byte [edx], 1
mov edx, ebx
and edx, 0xff0000
shr edx, 0x10
mov ecx, eax
inc ecx
mov byte [ecx], dl
mov edx, ebx
and edx, 0xff00
shr edx, 8
add eax, 2
mov byte [eax], dl
and bl, 0xff
mov eax, dword [ebp - 0x48]
add eax, edi
add eax, 3
mov byte [eax], bl
inc dword [ebp - 0x38]
add edi, 4
jmp 0x481bac
mov eax, dword [ebp - 0x38]
shl eax, 2
add eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
mov eax, dword [ebp - 0x48]
add eax, edi
mov edx, eax
mov byte [edx], 1
mov edx, ebx
and edx, 0xff000000
shr edx, 0x18
mov ecx, eax
inc ecx
mov byte [ecx], dl
mov edx, ebx
and edx, 0xff0000
shr edx, 0x10
add eax, 2
mov byte [eax], dl
mov eax, ebx
and eax, 0xff00
shr eax, 8
mov edx, dword [ebp - 0x48]
add edx, edi
add edx, 3
mov byte [edx], al
and bl, 0xff
mov eax, dword [ebp - 0x48]
add eax, edi
add eax, 3
mov byte [eax], bl
inc dword [ebp - 0x38]
add edi, 5
mov byte [ebp - 0x42], 1
jmp 0x481f22
mov edx, dword [ebp - 0x38]
shl edx, 2
mov eax, dword [ebp - 0x4c]
add edx, eax
mov edx, dword [edx]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x38]
inc edx
shl edx, 2
add edx, eax
mov ebx, dword [edx]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481c04
mov eax, dword [ebp - 0x38]
shl eax, 2
add eax, dword [ebp - 0x4c]
mov eax, dword [eax]
and eax, 0xffffff
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
inc eax
shl eax, 2
add eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
and ebx, 0xffffff
cmp ebx, dword [ebp - 0x3c]
jne 0x481d8b
mov byte [ebp - 0x41], 1
mov dword [ebp - 0x40], 1
jmp 0x481ccb
cmp ebx, dword [ebp - 0x3c]
setne al
cmp dword [ebp - 0x40], 0x78
setae dl
or al, dl
je 0x481c37
mov byte [ebp - 0x41], 0
jmp 0x481ccb
inc dword [ebp - 0x40]
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
mov ebx, dword [eax + 0x9c48]
xor edx, edx
mov eax, dword [esi + 0x30]
call fcn.0047e798
imul ebx, dword [eax + 0x9c4c]
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
cmp edx, dword [esp + 4]
jne 0x481c84
cmp eax, dword [esp]
pop edx
pop eax
jb 0x481c88
jmp 0x481cd5
pop edx
pop eax
jge 0x481cd5
mov eax, dword [ebp - 0x4c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shld edx, eax, 2
shl eax, 2
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481ccb
and ebx, 0xffffff
cmp byte [ebp - 0x41], 0
jne 0x481c1d
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481d2d
mov dl, byte [ebp - 0x40]
mov eax, dword [ebp - 0x48]
add eax, edi
mov ecx, eax
mov byte [ecx], dl
mov edx, dword [ebp - 0x3c]
and edx, 0xff0000
shr edx, 0x10
mov ecx, eax
inc ecx
mov byte [ecx], dl
mov edx, dword [ebp - 0x3c]
and edx, 0xff00
shr edx, 8
mov ecx, eax
add ecx, 2
mov byte [ecx], dl
mov dl, byte [ebp - 0x3c]
and dl, 0xff
add eax, 3
mov byte [eax], dl
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x38], eax
add edi, 4
jmp 0x481f13
mov dl, byte [ebp - 0x40]
mov eax, dword [ebp - 0x48]
add eax, edi
mov ecx, eax
mov byte [ecx], dl
mov edx, dword [ebp - 0x3c]
and edx, 0xff000000
shr edx, 0x18
mov ecx, eax
inc ecx
mov byte [ecx], dl
mov edx, dword [ebp - 0x3c]
and edx, 0xff0000
shr edx, 0x10
mov ecx, eax
add ecx, 2
mov byte [ecx], dl
mov edx, dword [ebp - 0x3c]
and edx, 0xff00
shr edx, 8
add eax, 3
mov byte [eax], dl
mov al, byte [ebp - 0x3c]
and al, 0xff
mov edx, dword [ebp - 0x48]
add edx, edi
add edx, 4
mov byte [edx], al
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x38], eax
add edi, 5
jmp 0x481f13
mov byte [ebp - 0x41], 1
mov dword [ebp - 0x40], 1
jmp 0x481e2c
cmp ebx, dword [ebp - 0x3c]
sete al
cmp dword [ebp - 0x40], 0x78
setae dl
or al, dl
je 0x481db2
mov byte [ebp - 0x41], 0
jmp 0x481e2c
inc dword [ebp - 0x40]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x18]
cdq
cmp edx, dword [esp + 4]
jne 0x481de5
cmp eax, dword [esp]
pop edx
pop eax
ja 0x481de9
jmp 0x481e36
pop edx
pop eax
jle 0x481e36
mov eax, dword [ebp - 0x4c]
cdq
push edx
push eax
mov eax, dword [ebp - 0x38]
cdq
push edx
push eax
mov eax, dword [ebp - 0x40]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
shld edx, eax, 2
shl eax, 2
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ebx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481e2c
and ebx, 0xffffff
cmp byte [ebp - 0x41], 0
jne 0x481d9b
mov al, 0xff
sub al, byte [ebp - 0x40]
mov edx, dword [ebp - 0x48]
add edx, edi
mov byte [edx], al
inc edi
mov eax, dword [ebp - 0x40]
dec eax
test eax, eax
jl 0x481f0d
inc eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x24]
shl eax, 2
add eax, dword [ebp - 0x4c]
mov ebx, dword [eax]
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481e7d
and ebx, 0xffffff
mov edx, dword [ebp - 0x20]
mov eax, dword [esi + 0x30]
call fcn.0047e7b8
cmp al, 3
je 0x481ebd
mov edx, ebx
and edx, 0xff0000
shr edx, 0x10
mov eax, dword [ebp - 0x48]
add eax, edi
mov ecx, eax
mov byte [ecx], dl
mov edx, ebx
and edx, 0xff00
shr edx, 8
mov ecx, eax
inc ecx
mov byte [ecx], dl
and bl, 0xff
add eax, 2
mov byte [eax], bl
add edi, 3
jmp 0x481f01
mov edx, ebx
and edx, 0xff000000
shr edx, 0x18
mov eax, dword [ebp - 0x48]
add eax, edi
mov ecx, eax
mov byte [ecx], dl
mov edx, ebx
and edx, 0xff0000
shr edx, 0x10
mov ecx, eax
inc ecx
mov byte [ecx], dl
mov edx, ebx
and edx, 0xff00
shr edx, 8
add eax, 2
mov byte [eax], dl
and bl, 0xff
mov eax, dword [ebp - 0x48]
add eax, edi
add eax, 3
mov byte [eax], bl
add edi, 4
inc dword [ebp - 0x24]
dec dword [ebp - 0x5c]
jne 0x481e5a
mov eax, dword [ebp - 0x40]
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x14]
imul dword [ebp - 0x18]
cmp eax, dword [ebp - 0x38]
jg 0x481f22
mov byte [ebp - 0x42], 1
cmp byte [ebp - 0x42], 0
je 0x481ac6
mov edx, edi
mov eax, dword [ebp - 0x2c]
call fcn.0044e7c8
mov ecx, edi
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x2c]
call fcn.0044e7a4
inc dword [ebp - 0x20]
dec dword [ebp - 0x58]
jne 0x481a19
mov dl, 1
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax]
call dword [ecx - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
call fcn.0044eb3c
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x2c]
call fcn.0044e7a4
mov eax, dword [ebp + 8]
call fcn.0047a32c
mov eax, dword [ebp - 0x48]
call fcn.0040273c
mov dl, 1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax]
call dword [ecx - 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481fae
lea eax, [ebp - 4]
call fcn.00403bfc
ret