Function at 0x404110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42d220
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + 4]
mov ebp, ecx
mov ecx, dword [eax + 4]
push edi
push ecx
mov ecx, esi
mov dword [esp + 0x1c], ebp
call fcn.00402bc0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
xor edi, edi
mov dword [esi + 8], edi
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov al, byte [0x431c82]
mov ecx, dword [ebp]
mov dl, 0x16
imul dl
sub al, 0x1f
movzx ebx, al
movzx eax, byte [esp + 0x90]
or ebx, eax
add ebx, 0x78
xor ebx, 0x53
mov al, bl
push 0xffffffffffffffff
xor al, dl
push ecx
mov byte [esp + 0x98], al
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov cl, byte [esp + 0x90]
or ebx, 0x7df3
mov al, bl
mov dl, 0x6e
imul dl
sub al, 0x1f
or cl, al
mov dword [esp + 0x38], edi
mov edi, dword [esp + 0x8c]
mov eax, edi
mov byte [esp + 0x90], cl
mov dword [esp + 0x3c], 0xf
mov byte [esp + 0x28], 0
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4041d0
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.004028a0
lea eax, [esp + 0x24]
push eax
lea edx, [esp + 0x20]
lea ecx, [ebp + 4]
push edx
mov dword [esp + 0x8c], 0
call fcn.004029c0
cmp dword [esp + 0x3c], 0x10
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov dword [esp + 0x84], 0xffffffff
jb 0x40422a
mov eax, dword [esp + 0x28]
push eax
call fcn.00424bcd
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, dword [ebp + 8]
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
je 0x40428d
lea edi, [eax + 0x28]
cmp esi, edi
je 0x404269
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push ecx
lea ecx, [esp + 0x94]
push ecx
mov ecx, esi
call fcn.004032f0
push edi
mov ecx, esi
call fcn.004033b0
mov edx, dword [ebp]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 8
movzx eax, byte [esp + 0x90]
xor eax, ebx
xor eax, 0x39
mov dword [esp + 0x90], eax
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x90]
mov al, cl
xor al, 0x16
movzx ebx, al
push 0
xor ebx, ecx
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push 0xf
push edi
mov byte [esp + 0xa8], al
xor ebx, 0x4a
mov dword [esp + 0x28], 0
call dword [0x431f0c]
test eax, eax
jne 0x40451b
mov al, byte [0x431c82]
mov edi, dword [esp + 0x10]
or al, 0x61
test edi, edi
mov byte [0x431c82], al
mov dword [esp + 0x14], edi
je 0x40447a
jmp 0x404310
mov cl, byte [esp + 0x90]
imul bl
imul ebx, ebx, 0x2c76
sub al, 0x1f
or cl, al
cmp word [edi + 8], 0xf
mov byte [esp + 0x90], cl
jne 0x40445c
mov edx, dword [edi + 0x18]
push edx
call dword [0x431eb4]
test eax, eax
je 0x404458
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov ebp, dword [ecx]
mov cl, byte [esp + 0x90]
mov al, byte [0x431c82]
mov dl, bl
add dl, cl
mov ecx, dword [esp + 0x10]
sub dl, 0x73
add al, dl
mov byte [0x431c82], al
mov edi, dword [ecx + 0x18]
movsx eax, al
xor eax, 0x34
xor ebx, eax
mov eax, edi
mov byte [esp + 0x90], 0x13
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
lea ecx, [eax + 1]
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4043a0
sub eax, ecx
push eax
push edi
lea ecx, [esp + 0x2c]
call fcn.004028a0
push 0xffffffffffffffff
xor edi, edi
mov dword [esp + 0x60], ebp
push edi
lea edx, [esp + 0x2c]
mov ebp, 0xf
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x90], 1
mov dword [esp + 0x84], ebp
mov dword [esp + 0x80], edi
mov byte [esp + 0x70], 0
call fcn.004027b0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov byte [esp + 0x8c], 2
call fcn.004031f0
cmp dword [esp + 0x78], 0x10
jb 0x40441b
mov edx, dword [esp + 0x64]
push edx
call fcn.00424bcd
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x78], ebp
mov dword [esp + 0x74], edi
mov byte [esp + 0x64], 0
mov dword [esp + 0x84], 0xffffffff
jb 0x404447
mov eax, dword [esp + 0x28]
push eax
call fcn.00424bcd
add esp, 4
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x38], edi
mov byte [esp + 0x28], 0
mov edi, dword [esp + 0x10]
mov dl, byte [esp + 0x90]
mov al, 0x43
sub al, dl
mov byte [0x431c82], al
mov edi, dword [edi]
test edi, edi
mov dword [esp + 0x10], edi
jne 0x404310
mov ecx, dword [esp + 0x14]
push 1
push ecx
call dword [0x431f10]
mov eax, dword [esi + 8]
test eax, eax
je 0x40451b
mov edx, dword [ebp]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movsx ebx, byte [0x431c82]
mov eax, dword [esp + 0x8c]
imul ebx, ebx, 0x23
push eax
lea ecx, [esp + 0x44]
call fcn.00402a90
push esi
lea ecx, [esp + 0x44]
push ecx
lea ecx, [ebp + 4]
mov dword [esp + 0x8c], 3
call fcn.00403f40
mov ecx, eax
call fcn.004034d0
cmp dword [esp + 0x58], 0x10
jb 0x4044ed
mov edx, dword [esp + 0x44]
push edx
call fcn.00424bcd
add esp, 4
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
mov cl, 0x43
sub cl, bl
pop ebp
mov byte [0x431c82], cl
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 8
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8