Function at 0x420360
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47855b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x58], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x4c], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x40], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
call fcn.004601e6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x60]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0041f7e0
lea esi, [edi + 0x4fc]
push 1
mov ecx, esi
call fcn.00468811
mov edx, dword [esi]
lea eax, [edi + 0x70]
push eax
mov ecx, esi
call dword [edx + 0x28]
mov edx, dword [esi]
push 0xff
mov ecx, esi
call dword [edx + 0x30]
push 0x481a84
lea ecx, [ebp - 0x1c]
call fcn.004025d0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax - 0xc]
movzx ebx, word [ebp + 8]
mov edx, dword [esi]
push ecx
push eax
mov eax, ebx
imul eax, eax, 0x4b
add eax, 0x5a
push eax
push 0xf4
mov ecx, esi
mov byte [ebp - 4], 3
call dword [edx + 0x5c]
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4204b8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push 0xd4
call fcn.004600d9
add esp, 4
mov dword [ebp - 0x24], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x4204dc
mov ecx, eax
call fcn.00432b70
mov dword [ebp - 0x1c], eax
jmp 0x4204e3
mov dword [ebp - 0x1c], 0
test ebx, ebx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], eax
jl 0x420927
cmp ebx, dword [0x49d604]
jge 0x420927
mov ecx, dword [0x49d600]
lea eax, [ecx + ebx*4]
push eax
lea ecx, [ebp - 0x14]
call fcn.00402260
push 4
push str.http
lea ecx, [ebp - 0x60]
call fcn.00401fe0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
cmp eax, 7
jg 0x420532
or eax, 0xffffffff
jmp 0x42054b
lea eax, [esi + 7]
push 0x2f
push eax
call fcn.00451394
add esp, 8
test eax, eax
jne 0x420549
or eax, 0xffffffff
jmp 0x42054b
sub eax, esi
add eax, 0xfffffff9
push eax
push 7
lea edx, [ebp - 0x20]
push edx
lea ecx, [ebp - 0x14]
call fcn.00408ff0
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00402260
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42058b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esi - 0xc]
cmp esi, 7
jg 0x420598
or eax, 0xffffffff
jmp 0x4205b5
mov eax, dword [ebp - 0x14]
add eax, 7
push 0x2f
push eax
call fcn.00451394
add esp, 8
test eax, eax
jne 0x4205b2
or eax, 0xffffffff
jmp 0x4205b5
sub eax, dword [ebp - 0x14]
sub esi, eax
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409070
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00402260
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4205f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp - 0x14]
push 0x2f
push esi
call fcn.00450e65
add esp, 8
test eax, eax
jne 0x420609
or eax, 0xffffffff
jmp 0x42060b
sub eax, esi
inc eax
push eax
push 0
lea ecx, [ebp - 0x14]
call fcn.00405280
mov eax, dword [0x49d63c]
push str.766DIY_
push eax
lea ecx, [ebp - 0x18]
push 0x47ebec
push ecx
call fcn.00402460
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx - 0xc]
add esp, 0x10
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.004092d0
lea edx, [ebp - 0x18]
mov esi, 1
push edx
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], esi
call fcn.00402260
mov ecx, dword [edi + 0x1c]
mov ax, word [ebp + 8]
push ecx
sub esp, 0x3c
lea edx, [ebp - 0x60]
mov ecx, esp
mov dword [ebp + 8], esp
push edx
mov dword [ebp - 0x54], 0x50
mov word [ebp - 0x3c], ax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ebx
call fcn.00408ee0
mov esi, dword [ebp - 0x1c]
mov ecx, esi
call fcn.00436d10
test eax, eax
je 0x4207d6
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x4a0]
call fcn.0040b9c0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebx + edi + 0x4b0], 1
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4206eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420708
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420725
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420742
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42075f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42077c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42079d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
test esi, esi
mov byte [ebp - 4], 7
je 0x4207e6
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
push 0x47ebd4
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420819
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420853
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420870
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42088d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4208e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42090c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0045e709
int3