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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58b088
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x5ef60c]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x2c], esi
jne 0x41e013
mov ebx, edi
call fcn.0041dd30
mov eax, dword [edi + 0x3c]
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x34], esi
call fcn.00435e60
lea edx, [esp + 0xa8]
push edx
mov dword [esp + 0x134], esi
call fcn.0045a6d0
push esi
push 0xb
mov byte [esp + 0x138], 1
mov eax, dword [edi + 0x48]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0x2b11
push eax
call ebx
cmp dword [edi + 0x28], 1
mov dword [esp + 0x34], 0x103
jne 0x41ea5f
cmp dword [edi + 0x2c], esi
je 0x41ea51
mov dword [esp + 0x34], 0x103
mov ecx, dword [edi + 0x2c]
push 5
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x2c]
lea edx, [esp + 0x34]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
call eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov esi, dword [eax + 0x928]
mov eax, dword [edx + 0x14]
call eax
cmp esi, 1
je 0x41ea41
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
call eax
mov eax, dword [edi + 0x50]
mov ecx, dword [edi + 0x54]
mov esi, dword [eax + 0x920]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
mov dword [esp + 0x50], esi
call eax
cmp esi, 7
ja case.0x41e0f8.1
mov ecx, esi
jmp dword [ecx*4 + 0x41eb10]
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov ecx, dword [edi + 0x38]
imul eax, eax, 0x138
add ecx, eax
lea edx, [esp + 0x6c]
add ecx, 0x118
push edx
mov dword [esp + 0x30], eax
call fcn.0041f3e0
mov byte [esp + 0x130], 2
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x7c]
cmp ebx, eax
jbe 0x41e150
call fcn.00559496
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ebx
lea esp, [esp]
mov dword [esp + 0x14], eax
cmp dword [esp + 0x78], eax
jbe 0x41e16f
call fcn.00559496
test esi, esi
je 0x41e179
cmp esi, dword [esp + 0x6c]
je 0x41e17e
call fcn.00559496
cmp ebx, dword [esp + 0x14]
je 0x41e4b0
test esi, esi
jne 0x41e2ec
call fcn.00559496
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x41e1a1
call fcn.00559496
push ebx
call fcn.00429620
mov dword [esp + 0x14], eax
test esi, esi
jne 0x41e2f3
call fcn.00559496
cmp ebx, dword [esi + 0x10]
jb 0x41e1c2
call fcn.00559496
mov ebx, dword [esp + 0x1c]
lea esi, [esp + 0x20]
mov eax, ebx
call fcn.004295f0
mov byte [esp + 0x130], 3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41e2fa
call fcn.00559496
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x41e1f6
call fcn.00559496
lea esi, [esp + 0x40]
mov eax, ebx
call fcn.004295a0
mov byte [esp + 0x130], 4
cmp dword [esp + 0x14], 0
jne 0x41e269
mov eax, dword [esp + 0xc0]
mov ebx, dword [esp + 0xa8]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0xdc]
push edx
lea esi, [esp + 0xb0]
mov dword [esp + 0xa0], eax
call fcn.0041f670
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x41e24a
cmp eax, ebx
je 0x41e24f
call fcn.00559496
mov eax, dword [esp + 0x98]
cmp dword [esi + 4], eax
jne 0x41e269
mov ecx, dword [esp + 0x20]
cmp dword [ecx - 0xc], 0
jne 0x41e305
mov byte [esp + 0x130], 3
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 2
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 0x41e2b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x41e301
call fcn.00559496
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x41e2d6
call fcn.00559496
add dword [esp + 0x1c], 0x44
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
jmp 0x41e160
mov eax, dword [esi]
jmp 0x41e197
mov esi, dword [esi]
jmp 0x41e1b8
mov eax, dword [eax]
jmp 0x41e1ec
mov eax, dword [eax]
jmp 0x41e2c8
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 1
test eax, eax
jne 0x41e49e
call fcn.00559496
xor eax, eax
mov edx, dword [esp + 0x1c]
cmp edx, dword [eax + 0x10]
jb 0x41e32e
call fcn.00559496
mov ecx, dword [esp + 0x1c]
lea esi, [esp + 0xe8]
call fcn.004295d0
mov ebx, eax
lea eax, [esp + 0x54]
mov byte [esp + 0x130], 5
call fcn.0041f2a0
mov byte [esp + 0x130], 4
call fcn.00455d10
cmp dword [esp + 0x18], 0
jne 0x41e4a5
call fcn.00559496
xor eax, eax
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [eax + 0x10]
jb 0x41e37e
call fcn.00559496
mov eax, dword [esp + 0x1c]
push ecx
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00406450
push ecx
mov byte [esp + 0x138], 6
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x5b95a8
call fcn.00401a30
push ecx
mov byte [esp + 0x13c], 7
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x5b95a8
call fcn.00401a30
mov byte [esp + 0x13c], 8
mov esi, dword [esp + 0x4c]
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x48], esp
mov ebx, esp
push esi
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x144], 9
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov ebx, esp
push eax
mov dword [esp + 0x2c], eax
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov ebx, edi
mov byte [esp + 0x144], 4
call fcn.0041ebb0
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xac]
push eax
lea ebx, [esp + 0x120]
call fcn.0041f550
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x48]
push eax
push 0xa
push 0x2b11
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x130], 3
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e477
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x14]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e4b7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x41e4b7
mov eax, dword [eax]
jmp 0x41e320
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
jmp 0x41e370
cmp dword [esp + 0x30], 0
je 0x41e4d3
lea ebx, [esp + 0x6c]
mov byte [esp + 0x130], 1
call fcn.0041f500
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41e0f8.1
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41eb06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x130], 0xa
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41eb06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x130], 0xb
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41eb06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov byte [esp + 0x130], 0xc
call fcn.0045e972
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41eb06
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x130], 0xd
cmp ecx, dword [edi + 0x3c]
jge 0x41eb01
mov ebx, dword [edi + 0x38]
mov esi, dword [esp + 0x2c]
add ebx, esi
je 0x41e5db
call fcn.0041ef50
test eax, eax
je 0x41e5db
mov ebx, dword [esp + 0x10]
cmp ebx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, esi
push eax
lea ecx, [esp + 0x18]
call fcn.00401f40
cmp ebx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, esi
add eax, 4
push eax
lea ecx, [esp + 0x3c]
call fcn.00401f40
mov edx, dword [esp + 0x10]
cmp edx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, esi
add eax, 0x44
je 0x41e637
mov ebx, eax
call fcn.0041ef50
test eax, eax
je 0x41e637
mov ebx, dword [esp + 0x10]
cmp ebx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, esi
add eax, 0x44
push eax
lea ecx, [esp + 0x48]
call fcn.00401f40
cmp ebx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, esi
add eax, 0x48
push eax
lea ecx, [esp + 0x40]
call fcn.00401f40
mov eax, dword [esp + 0x10]
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, dword [esp + 0x2c]
push ecx
mov eax, dword [eax + 0x98]
sub eax, 0x10
mov dword [esp + 0x90], esp
mov esi, esp
push eax
call fcn.00401ff0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x138], 0xe
mov esi, dword [esp + 0x44]
add esi, 0xfffffff0
mov dword [esp + 0xa4], esp
mov ebx, esp
push esi
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x13c], 0xf
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
mov dword [esp + 0x9c], esp
mov ebx, esp
push eax
mov dword [esp + 0x58], eax
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x140], 0x10
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
mov dword [esp + 0xb0], esp
mov ebx, esp
push eax
mov dword [esp + 0x60], eax
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
mov byte [esp + 0x144], 0x11
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
push eax
mov dword [esp + 0x3c], eax
call fcn.00401ff0
add eax, 0x10
mov dword [ebx], eax
add esp, 4
mov ebx, edi
mov byte [esp + 0x144], 0xd
call fcn.0041ebb0
mov ecx, dword [esp + 0x10]
cmp ecx, dword [edi + 0x3c]
jge 0x41eb01
mov eax, dword [edi + 0x38]
add eax, dword [esp + 0x2c]
mov edx, dword [edi + 0x48]
push eax
push 0xa
push 0x2b11
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, 1
sub dword [esp + 0x28], ebx
mov byte [esp + 0x130], 0xc
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41e760
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov byte [esp + 0x130], 0xb
mov eax, dword [esp + 0x48]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e785
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 0xa
mov eax, dword [esp + 0x4c]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7aa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x24]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e7cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x130], bl
lea ebx, [esp + 0x6c]
call fcn.0041f500
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x41e0f8.1
cmp dword [esp + 0x14], 2
je case.0x41e0f8.1
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov ecx, dword [edi + 0x48]
imul eax, eax, 0x138
add eax, dword [edi + 0x38]
push eax
push 3
push 0x2b11
push ecx
call ebx
jmp case.0x41e0f8.1
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov edx, dword [edi + 0x48]
imul eax, eax, 0x138
add eax, dword [edi + 0x38]
push eax
push 7
push 0x2b11
push edx
call ebx
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
mov eax, dword [edi + 0x50]
mov dword [eax + 0x928], 1
mov ecx, dword [edi + 0x54]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
jmp case.0x41e0f8.1
cmp dword [esp + 0x28], 0
jne 0x41e8b9
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
imul eax, eax, 0x138
add eax, dword [edi + 0x38]
push eax
mov eax, dword [edi + 0x48]
push 5
push 0x2b11
push eax
call ebx
mov esi, edi
call fcn.0041ee90
jmp case.0x41e0f8.1
cmp dword [esp + 0x30], 0
jne 0x41e8df
mov esi, dword [esp + 0x10]
lea ecx, [edi + 0x34]
mov eax, esi
call fcn.00420290
mov ecx, dword [edi + 0x48]
push eax
push 4
push 0x2b11
push ecx
jmp 0x41ea2b
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
call eax
mov eax, dword [edi + 0x50]
mov ecx, dword [eax + 0xb40]
mov dword [esp + 0x24], ecx
mov ecx, dword [edi + 0x54]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
call eax
lea esi, [esp + 0xe0]
lea edi, [esp + 0x54]
call fcn.0041f3c0
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [esp + 0xd0]
mov dword [esp + 0xa0], ecx
call fcn.0041f3a0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x41e942
mov edx, dword [esp + 0x24]
cmp dword [eax], edx
je 0x41e942
add eax, 4
cmp eax, ebx
jne 0x41e933
lea esi, [esp + 0xc8]
lea edi, [esp + 0x54]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], eax
call fcn.0041f3c0
mov esi, eax
lea edi, [esp + 0x84]
call fcn.0041f6f0
test al, al
je 0x41e97c
mov eax, dword [ebp + 8]
mov dword [eax + 0x30], 1
lea ecx, [esp + 0x100]
push ecx
mov dword [esp + 0x34], 0
call fcn.00435e60
mov ebx, eax
lea eax, [esp + 0x54]
mov byte [esp + 0x130], 0x12
call fcn.0041f2a0
lea esi, [esp + 0x100]
mov byte [esp + 0x130], 1
call fcn.00455d10
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [ebp + 8]
jmp 0x41ea32
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
jne 0x41e9ff
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov edx, dword [edi + 0x48]
imul eax, eax, 0x138
add eax, dword [edi + 0x38]
push eax
push 6
push 0x2b11
push edx
call ebx
mov esi, edi
call fcn.0041ee90
jmp case.0x41e0f8.1
test eax, eax
jl 0x41eb01
cmp eax, dword [edi + 0x3c]
jge 0x41eb01
mov esi, dword [esp + 0x10]
mov eax, esi
imul eax, eax, 0x138
add eax, dword [edi + 0x38]
push eax
mov eax, dword [edi + 0x48]
push 6
push 0x2b11
push eax
call ebx
inc esi
mov dword [esp + 0x10], esi
mov esi, edi
call fcn.0041eb80
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x34], 0x103
je 0x41e087
xor esi, esi
mov eax, dword [edi + 0x2c]
cmp eax, esi
je 0x41ea5f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [edi + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [edi + 0x4c]
cmp eax, esi
je 0x41ea7a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x4c], esi
mov ecx, dword [edi + 0x54]
cmp ecx, esi
je 0x41ea8d
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov dword [edi + 0x54], esi
xor ebx, ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], ebx
mov edi, dword [esp + 0x34]
lea esi, [esp + 0xa8]
mov byte [esp + 0x130], 0x13
call fcn.0041fa60
mov eax, dword [esp + 0xa8]
push eax
call fcn.0045dea6
mov eax, dword [esp + 0x64]
add esp, 4
cmp eax, ebx
je 0x41eace
push eax
call fcn.0045dea6
add esp, 4
mov ecx, dword [esp + 0x54]
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
call fcn.0045dea6
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.0045e880
push 0x80004005
call fcn.00401fd0
jmp eax