Function at 0x41fef0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44e878
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x463140]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x48], 1
cmp edi, ebx
je 0x41ff8f
test edi, 0xffff0000
jne 0x41ff84
movzx eax, di
push eax
call fcn.00404c4f
add esp, 4
cmp eax, ebx
je 0x41ff9d
movzx ecx, di
push ecx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00404d44
jmp 0x41ff99
push edi
call fcn.004396d3
add esp, 4
mov ebx, eax
push edi
lea eax, [esp + 0x14]
call fcn.00404ec0
mov esi, dword [esp + 0x10]
push edi
mov byte [esp + 0x4c], 2
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edx, dword [section..data]
mov ebx, eax
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov byte [esp + 0x48], 3
test ebx, ebx
je 0x41fff1
test ebx, 0xffff0000
jne 0x41fff5
movzx ebx, bx
push ebx
call fcn.00404c4f
add esp, 4
test eax, eax
je 0x42000e
push ebx
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404d44
jmp 0x42000a
xor eax, eax
jmp 0x41fffe
push ebx
call fcn.004396d3
add esp, 4
push ebx
mov ebx, eax
lea eax, [esp + 0x18]
call fcn.00404ec0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x48], 4
cmp dword [esi - 4], 1
jle 0x42002b
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x14]
push eax
call fcn.00404f5f
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
lea ecx, [esp + 0x20]
push ecx
mov ebx, esi
call fcn.0041ec40
push 0xfde9
lea edx, [esp + 0x20]
push edx
mov ebx, edi
mov dword [esp + 0x20], eax
call fcn.0041ec40
mov ecx, dword [esp + 0x18]
push ecx
push eax
call dword [sym.imp.imagehlp.dll_ImageLoad]
mov ebx, eax
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00439a48
add esp, 8
test eax, eax
js 0x420163
cmp eax, dword [esi - 8]
jg 0x420163
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
test ebx, ebx
jne 0x4200ee
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4200d0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
call fcn.0041ead0
xor eax, eax
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebx + 0xc]
movzx edx, word [ecx + 4]
push ebx
mov dword [esp + 0x1c], edx
call dword [sym.imp.imagehlp.dll_ImageUnload]
lea eax, [edi - 0x10]
mov byte [esp + 0x48], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420121
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x48], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420142
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x1c]
call fcn.0041ead0
mov ax, word [esp + 0x18]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.004050e3
int3