Function at 0x4310e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c2fb
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x4b1784]
xor eax, esp
mov dword [esp + 0x518], eax
push ebx
push esi
push edi
mov eax, dword [0x4b1784]
xor eax, esp
push eax
lea eax, [esp + 0x530]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov word [esp + 0x514], 0x5c
mov dword [esp + 0x518], eax
mov dword [esp + 0x51c], eax
mov dword [esp + 0x538], eax
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x538], 1
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x30], eax
mov byte [esp + 0x538], 2
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x2c], eax
mov byte [esp + 0x538], 3
mov eax, dword [0x4bb38c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4bb38c
call edx
add eax, 0x10
mov dword [esp + 0x38], eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x53c], 4
call fcn.0042ecf0
mov byte [esp + 0x538], 5
mov edx, dword [0x4bb38c]
mov eax, dword [edx + 0xc]
mov ecx, 0x4bb38c
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x1c]
push 0x4bd958
push ecx
mov ebx, 0x49b970
mov byte [esp + 0x540], 6
call fcn.00409750
push eax
lea edx, [esp + 0x2c]
push edx
mov ebx, str..qpyd
mov byte [esp + 0x548], 7
call fcn.00409750
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 8
call fcn.0040b8a0
mov byte [esp + 0x538], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431256
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43127e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.004349a0
test eax, eax
je 0x4313e4
lea ecx, [esp + 0x1c]
push 0x4bd958
push ecx
lea ebx, [esp + 0xf0]
call fcn.00409750
add esp, 8
mov byte [esp + 0x538], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x431309
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4312fc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4312fc
call fcn.00415d10
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4312f3
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x431309
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00415d80
mov byte [esp + 0x538], 6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431331
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00430210
add esp, 8
test eax, eax
je 0x431368
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x43151d
call fcn.0046a201
add esp, 4
xor bl, bl
test byte [esp + 0x18], 1
je 0x431396
mov eax, dword [esp + 0x28]
and dword [esp + 0x18], 0xfffffffe
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431396
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x4313b1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.0042edb0
mov eax, dword [esp + 0x518]
test eax, eax
je 0x4313e4
cmp dword [esp + 0x51c], 0
je 0x4313e4
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x431296
lea edx, [esp + 0x34]
push 0x4bd958
push edx
mov ebx, 0x49b974
call fcn.00409750
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x28]
push ecx
mov ebx, 0x49b970
mov byte [esp + 0x548], 0xa
call fcn.00409750
push eax
lea edx, [esp + 0x3c]
push edx
mov ebx, str..qpyd
mov byte [esp + 0x550], 0xb
call fcn.00409750
add esp, 0x18
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 0xc
call fcn.0040b8a0
mov byte [esp + 0x538], 0xb
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431490
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.004349a0
test eax, eax
je 0x4316aa
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ebx, [esp + 0xf0]
call fcn.00409750
add esp, 8
mov byte [esp + 0x538], 0xd
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4315cf
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x4315c2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4315c2
call fcn.00415d10
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x431511
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x4315cf
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.0046a201
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00422e60
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00430730
add esp, 0xc
test eax, eax
je 0x431368
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str..qpyd
call fcn.00409750
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 1
lea ecx, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4315a9
test dx, dx
je 0x4315a5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4315a9
add eax, 4
add ecx, 4
test dx, dx
jne 0x431583
xor eax, eax
jmp 0x4315ae
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x431368
mov bl, 1
jmp 0x43136a
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00415d80
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4315f7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00430210
add esp, 8
test eax, eax
je 0x43162e
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x4317c7
call fcn.0046a201
add esp, 4
xor bl, bl
test byte [esp + 0x18], 2
je 0x43165c
mov eax, dword [esp + 0x1c]
and dword [esp + 0x18], 0xfffffffd
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43165c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431677
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.0042edb0
mov eax, dword [esp + 0x518]
test eax, eax
je 0x4316aa
cmp dword [esp + 0x51c], 0
je 0x4316aa
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x4314a8
lea edx, [esp + 0x1c]
push 0x4bd95c
push edx
mov ebx, 0x49b970
call fcn.00409750
push eax
lea eax, [esp + 0x34]
push eax
mov ebx, str..qpyd
mov byte [esp + 0x548], 0xe
call fcn.00409750
add esp, 0x10
lea edi, [esp + 0x14]
mov byte [esp + 0x538], 0xf
call fcn.0040b8a0
mov byte [esp + 0x538], 0xe
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431712
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43173a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
lea esi, [esp + 0xbc]
call fcn.004349a0
test eax, eax
je 0x431957
lea ecx, [esp + 0x28]
push 0x4bd95c
push ecx
lea ebx, [esp + 0xf0]
call fcn.00409750
add esp, 8
mov byte [esp + 0x538], 0x10
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x43187c
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x43186f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x43186f
call fcn.00415d10
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x4317bb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x43187c
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.0046a201
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00422e60
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00430730
add esp, 0xc
test eax, eax
je 0x43162e
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str..qpyd
call fcn.00409750
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 2
lea ecx, [esp + 0xe8]
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431856
test dx, dx
je 0x431852
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431856
add eax, 4
add ecx, 4
test dx, dx
jne 0x431830
xor eax, eax
jmp 0x43185b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x43162e
mov bl, 1
jmp 0x431630
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x18]
call fcn.00415d80
mov byte [esp + 0x538], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4318a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push edx
mov dword [esp + 0x28], 0
call fcn.00430210
add esp, 8
test eax, eax
je 0x4318db
mov eax, dword [esp + 0x20]
cmp dword [eax], 0x7d1ea609
push eax
je 0x431aa0
call fcn.0046a201
add esp, 4
xor bl, bl
test byte [esp + 0x18], 4
je 0x431909
mov eax, dword [esp + 0x1c]
and dword [esp + 0x18], 0xfffffffb
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x431909
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x431924
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x44]
call fcn.0042edb0
mov eax, dword [esp + 0x518]
test eax, eax
je 0x431957
cmp dword [esp + 0x51c], 0
je 0x431957
lea ecx, [esp + 0xbc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov dword [esp + 0x51c], eax
jne 0x431752
lea edx, [esp + 0x3c]
push edx
call fcn.00433690
mov byte [esp + 0x53c], 6
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43198c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 5
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4319b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esp + 0x3c]
call fcn.004301b0
mov byte [esp + 0x538], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4319e5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 2
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431a0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x538], 1
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431a35
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor ebx, ebx
mov byte [esp + 0x538], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431a5e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x518]
cmp eax, ebx
mov dword [esp + 0x51c], ebx
je 0x431a7c
cmp eax, 0xffffffff
je 0x431a7c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x530]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x518]
xor ecx, esp
call fcn.00469efd
mov esp, ebp
pop ebp
ret
mov esi, eax
mov ecx, 0x17
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
call fcn.0046a201
add esp, 4
lea ebx, [esp + 0x64]
lea eax, [esp + 0x24]
call fcn.00422e60
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.00430730
add esp, 0xc
test eax, eax
je 0x4318db
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ebx, str..qpyd
call fcn.00409750
mov eax, dword [eax]
add esp, 8
or dword [esp + 0x18], 4
lea ecx, [esp + 0xe8]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x431b2c
test dx, dx
je 0x431b28
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x431b2c
add eax, 4
add ecx, 4
test dx, dx
jne 0x431b06
xor eax, eax
jmp 0x431b31
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
je 0x4318db
mov bl, 1
jmp 0x4318dd