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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d6c1c
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x63a800]
xor eax, esp
mov dword [esp + 0x178], eax
push ebx
push esi
push edi
mov eax, dword [0x63a800]
xor eax, esp
push eax
lea eax, [esp + 0x190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edx
test eax, eax
je 0x41f875
test ecx, ecx
je 0x41f875
test ebx, ebx
jne 0x41f8a4
xor eax, eax
mov ecx, dword [esp + 0x190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x178]
xor ecx, esp
call fcn.005ac396
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebx + 8]
mov dword [esp + 0x2c], eax
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41fde3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x198], 0
call fcn.0048990d
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x41fde3
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
sub esp, 0x50
mov byte [esp + 0x1e8], 1
mov eax, dword [ebx]
mov cl, byte [eax + 0xc]
mov edi, esp
sub esp, 0x68
mov edx, esp
mov dword [esp + 0xd0], esp
lea esi, [eax + 0x20]
push edx
cmp cl, 7
jne 0x41f971
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x70]
call fcn.00401150
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xd4]
push eax
push ecx
mov ecx, dword [ebx]
add ecx, 8
call fcn.0042e3f0
mov edx, dword [esp + 0xe4]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0xd8]
push 0x60acc4
push ecx
call fcn.00432720
add esp, 0xcc
jmp 0x41f9f2
cmp cl, 0xfd
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
lea ecx, [eax + 0x70]
jne 0x41f9bf
call fcn.00401150
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0xd4]
push eax
push ecx
mov ecx, dword [ebx]
add ecx, 8
call fcn.0042e0d0
mov edx, dword [esp + 0xe4]
mov eax, dword [edx]
push eax
lea ecx, [esp + 0xd8]
push 0x60acd0
push ecx
call fcn.00432720
add esp, 0xcc
jmp 0x41f9f2
call fcn.00401150
lea ecx, [esp + 0xd4]
call fcn.0042e010
mov eax, dword [esp + 0xdc]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0xd0]
push 0x60acdc
push edx
call fcn.00432720
add esp, 0xc4
mov eax, dword [esp + 0x1c]
cmp dword [eax - 0xc], 0
jle 0x41fa92
lea ecx, [esp + 0x34]
push ecx
lea edi, [esp + 0x20]
call fcn.00431190
add esp, 4
lea edx, [esp + 0x38]
push 0x29
push edx
mov edi, eax
mov byte [esp + 0x1a0], 2
call fcn.004310d0
add esp, 8
mov byte [esp + 0x198], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00432140
mov byte [esp + 0x198], 2
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 0x41fa6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x198], 1
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fa92
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x3c
lea ecx, [esp + 0x40]
push 0
push ecx
call fcn.005afd80
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
or dword [esp + 0x48], 7
add esp, 0xc
push 0
push 0
push 0x1004
push eax
call esi
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + 0x1998]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x58], edx
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x41faf5
push 0
lea ecx, [esp + 0x18]
call fcn.00432990
mov edi, dword [esp + 0x14]
mov eax, dword [ebx]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x3c]
push ecx
push 0
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x20]
push 0x1007
push eax
mov dword [esp + 0x60], edi
call esi
push 0x31
lea ecx, [esp + 0xb9]
push 0
push ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0xc0], 0
call fcn.005afd80
mov eax, dword [ebx]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
add esp, 0xc
push 0x10000
xor edx, edx
push edx
push eax
push ecx
push edx
mov edx, dword [ebp + 0x14]
push edx
call fcn.005af0e0
push edx
push eax
lea esi, [esp + 0xc4]
call fcn.004469c0
mov ecx, dword [esp + 0x28]
add esp, 0x10
mov eax, esi
push eax
push 1
push ecx
mov ecx, dword [esp + 0x2c]
call fcn.004b216d
push 0x31
lea edx, [esp + 0xed]
push 0
push edx
mov byte [esp + 0xf4], 0
call fcn.005afd80
mov eax, dword [ebx]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
add esp, 0xc
push 0x10000
push 0
push eax
push ecx
xor eax, eax
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.005af0e0
push edx
push eax
lea esi, [esp + 0xf8]
call fcn.004469c0
push 0x63
lea ecx, [esp + 0x131]
push 0
push ecx
mov byte [esp + 0x138], 0
call fcn.005afd80
add esp, 0x1c
mov edx, esi
push edx
lea eax, [esp + 0x120]
push 0x60ad00
push eax
call fcn.005acd60
add esp, 0xc
lea ecx, [esp + 0x11c]
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x24]
push 2
push edx
call fcn.004b216d
push 0x3c
lea eax, [esp + 0x7c]
push 0
push eax
call fcn.005afd80
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
or dword [esp + 0x84], 7
add esp, 0xc
push 0
push 0
push 0x1004
push edx
call esi
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x1998]
mov dword [esp + 0x94], ecx
mov ecx, dword [edi - 8]
mov eax, 1
sub eax, dword [edi - 4]
or ecx, eax
jge 0x41fc6d
push 0
lea ecx, [esp + 0x18]
call fcn.00432990
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x78]
push edx
push 0
push 0x1007
push ecx
mov dword [esp + 0x9c], edi
call esi
push 0x31
lea edx, [esp + 0xed]
push 0
push edx
mov dword [esp + 0x24], eax
mov byte [esp + 0xf4], 0
call fcn.005afd80
mov eax, dword [ebx]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
add esp, 0xc
push 0x10000
push 0
push eax
push ecx
xor eax, eax
push eax
mov eax, dword [ebp + 0x14]
push eax
call fcn.005af0e0
push edx
push eax
lea esi, [esp + 0xf8]
call fcn.004469c0
mov edx, dword [esp + 0x28]
add esp, 0x10
mov ecx, esi
push ecx
mov ecx, dword [esp + 0x2c]
push 1
push edx
call fcn.004b216d
push 0x31
lea eax, [esp + 0xb9]
push 0
push eax
mov byte [esp + 0xc0], 0
call fcn.005afd80
mov ebx, dword [ebx]
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx + 0x14]
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push 0x10000
push 0
push ebx
push eax
xor eax, eax
push eax
push ecx
call fcn.005af0e0
push edx
push eax
lea esi, [esp + 0xc4]
call fcn.004469c0
push 0x63
lea edx, [esp + 0x131]
push 0
push edx
mov byte [esp + 0x138], 0
call fcn.005afd80
add esp, 0x1c
mov eax, esi
push eax
lea ecx, [esp + 0x120]
push 0x60ad00
push ecx
call fcn.005acd60
add esp, 0xc
lea edx, [esp + 0x11c]
push edx
push 2
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x30]
push eax
call fcn.004b216d
mov eax, dword [esp + 0x24]
inc dword [eax]
mov byte [esp + 0x198], 0
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 0x41fdac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [esp + 0x198], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41fdd3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
cmp dword [esp + 0x2c], 0
jne 0x41f8a0
jmp 0x41f875
push 0x80004005
call fcn.00432b80
int3