Function at 0x5231b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xbe
push 0
push 0
dec ecx
jne 0x5231bd
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x523fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00521734
mov byte [ebp - 9], 0
mov eax, dword [ebp - 4]
call fcn.005206bc
test al, al
je 0x523321
mov eax, dword [ebp - 4]
call fcn.00520674
xor eax, eax
push ebp
push 0x52331a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.005206c8
mov dx, 0x85
mov eax, dword [ebp - 4]
call fcn.00520554
mov eax, dword [ebp - 4]
call fcn.0052068c
mov eax, dword [ebp - 4]
lea edx, [eax + 0x14]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00520698
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.00520698
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.00520698
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x5232c1
inc eax
mov dword [ebp - 0x40], eax
xor ebx, ebx
lea ecx, [ebp - 0x254]
mov edx, ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x254]
call fcn.004047c8
push eax
lea ecx, [ebp - 0x258]
mov edx, ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x258]
call fcn.004049c8
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
call fcn.00520698
inc ebx
dec dword [ebp - 0x40]
jne 0x523279
lea edx, [ebp + 0xc]
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00520698
lea edx, [ebp + 8]
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00520698
mov eax, dword [ebp - 4]
call fcn.005206a4
mov eax, dword [ebp - 4]
call fcn.0052056c
mov eax, dword [ebp - 4]
call fcn.005206d4
lea edx, [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.005206b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523f63
mov eax, dword [ebp - 4]
call fcn.00520680
ret
push 0x523fdc
lea edx, [ebp - 0x460]
mov eax, dword [ebp - 4]
call fcn.005204b0
lea edx, [ebp - 0x460]
lea eax, [ebp - 0x360]
call fcn.00404750
push dword [ebp - 0x360]
push 0x523ffc
call fcn.0040b8d0
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x464]
call fcn.0040c538
push dword [ebp - 0x464]
lea eax, [ebp - 0x35c]
mov edx, 4
call fcn.00404888
mov edx, dword [ebp - 0x35c]
lea eax, [ebp - 0x358]
mov ecx, 0xff
call fcn.004047a4
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
call fcn.005244c4
xor eax, eax
push ebp
push 0x523ee5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.0051fdbc
xor eax, eax
push ebp
push 0x523ed4
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x50b438]
call fcn.00519144
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x50b438]
call fcn.00519144
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x523e2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
add eax, 0xc
mov edx, ebx
call fcn.00402f00
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x110], 1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 8]
push 0x524014
lea eax, [ebp - 0x46c]
mov edx, ebx
call fcn.00404750
push dword [ebp - 0x46c]
push 0x52402c
lea eax, [ebp - 0x468]
mov edx, 3
call fcn.00404888
mov edx, dword [ebp - 0x468]
lea eax, [ebp - 0x358]
mov ecx, 0xff
call fcn.004047a4
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
call fcn.005244c4
xor eax, eax
push ebp
push 0x523e08
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.0051ff80
xor eax, eax
push ebp
push 0x523deb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea edx, [ebp - 0x50]
mov ecx, 0x10
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x30]
call fcn.0050becc
lea edx, [eax + 0xbd0]
lea eax, [ebp - 0x50]
call fcn.0049d55c
test al, al
jne 0x52352d
lea edx, [ebp - 0x47c]
mov eax, 0x52403c
call fcn.0049d50c
lea edx, [ebp - 0x47c]
lea eax, [ebp - 0x50]
call fcn.0049d55c
test al, al
jne 0x52352d
push 0x524048
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
call fcn.005204b0
lea eax, [ebp - 0x358]
push eax
push ebx
push 0x524048
push 0x524048
push 0x524048
push 0x524048
push 0x524048
push 0
push 0
call fcn.0050becc
mov ecx, 0x524048
mov dx, 0x2f04
call fcn.005127f0
push 0
lea edx, [ebp - 0x38]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x20]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x150]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x150]
lea edx, [ebp - 0x14f]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x5235cc
mov dword [ebp - 0x40], eax
push 0
lea edx, [ebp - 0x250]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x250]
lea edx, [ebp - 0x24f]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
dec dword [ebp - 0x40]
jne 0x52359a
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x523dcf
mov dword [ebp - 0x40], eax
push 0
lea edx, [ebp - 0x250]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x250]
lea edx, [ebp - 0x24f]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x24]
mov ecx, 4
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x30]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
mov dword [ebp - 0x3c], 0xffffffff
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x5236c8
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x480]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x460]
mov ecx, 0xff
call fcn.004047a4
lea eax, [ebp - 0x460]
push eax
call fcn.0050becc
lea edx, [eax + 0xbe0]
lea ecx, [ebp - 0x358]
pop eax
call fcn.004e6908
lea eax, [ebp - 0x358]
push eax
call fcn.0050becc
lea edx, [eax + 0xbe0]
lea ecx, [ebp - 0x460]
lea eax, [ebp - 0x250]
call fcn.004e6908
lea edx, [ebp - 0x460]
pop eax
call fcn.004e8e20
test eax, eax
jne 0x5236c4
mov dword [ebp - 0x3c], ebx
jmp 0x5236c8
inc ebx
dec esi
jne 0x523648
cmp dword [ebp - 0x3c], 0xffffffff
je 0x523d0f
lea ecx, [ebp - 0x58c]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x58c]
lea eax, [ebp - 0x588]
mov ecx, 0xff
call fcn.004047a4
lea eax, [ebp - 0x588]
push eax
call fcn.0050becc
lea edx, [eax + 0xbe0]
lea ecx, [ebp - 0x460]
pop eax
call fcn.004e6908
lea edx, [ebp - 0x460]
lea eax, [ebp - 0x488]
call fcn.00404750
mov ecx, dword [ebp - 0x488]
lea eax, [ebp - 0x484]
mov edx, 0x524054
call fcn.00404814
mov edx, dword [ebp - 0x484]
lea eax, [ebp - 0x358]
mov ecx, 0xff
call fcn.004047a4
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
call fcn.005244c4
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
add eax, 0x118
call fcn.004e617c
lea edx, [ebp - 0x358]
lea eax, [ebp - 0x590]
call fcn.00404750
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x594]
lea edx, [ebp - 0x250]
call fcn.00404750
mov edx, dword [ebp - 0x594]
pop eax
call fcn.004047d0
mov edx, dword [ebp - 0x590]
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov ecx, 0xff
call fcn.004047a4
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x110], 1
mov eax, dword [ebp - 4]
call fcn.005204ec
mov edx, dword [ebp - 0x14]
mov byte [edx + 4], al
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x10]
xor eax, eax
push ebp
push 0x5238dd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x524078
lea ecx, [ebp - 0x5a0]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x5a0]
lea eax, [ebp - 0x588]
mov ecx, 0xff
call fcn.004047a4
lea eax, [ebp - 0x588]
push eax
call fcn.0050becc
lea edx, [eax + 0xbe0]
lea ecx, [ebp - 0x460]
pop eax
call fcn.004e6908
lea edx, [ebp - 0x460]
lea eax, [ebp - 0x59c]
call fcn.00404750
push dword [ebp - 0x59c]
push 0x524094
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
lea eax, [ebp - 0x5a4]
call fcn.004093ec
push dword [ebp - 0x5a4]
push 0x5240a8
lea eax, [ebp - 0x598]
mov edx, 5
call fcn.00404888
mov edx, dword [ebp - 0x598]
lea eax, [ebp - 0x358]
mov ecx, 0xff
call fcn.004047a4
lea edx, [ebp - 0x358]
mov eax, dword [ebp - 4]
call fcn.005244c4
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, fcn.00524178
push eax
mov eax, dword [ebp - 4]
call fcn.00522040
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5238e4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0xc]
ret
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push 0
lea edx, [ebp - 0x250]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x250]
lea edx, [ebp - 0x24f]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x30]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
cmp dword [ebp - 0x24], 0
jle 0x523dc6
push 0
lea edx, [ebp - 0x250]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
xor ecx, ecx
mov cl, byte [ebp - 0x250]
lea edx, [ebp - 0x24f]
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push 0
lea edx, [ebp - 0x30]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x40]
jne 0x5235da
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x523df2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x21c]
call fcn.00520070
ret