Function at 0x41d9e0
Capabilities:
Create thread
Print debug messages
Resume thread

Disassembly:
push 0xffffffffffffffff
push 0x488558
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4bdbb0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 4
push esi
push 0x415920
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0044c028
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov eax, dword [edi + 0x44]
push eax
push 0x41ac50
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, dword [esp + 0x28]
push 5
mov dword [0x4c23f4], eax
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
call ecx
mov dword [esi + 0xc], eax
call fcn.00449852
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41da7b
push 0x80004005
call fcn.004108b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x28]
push str.COpenAsDialog::DoModal_m_nRetVal_d
push edx
mov dword [esp + 0x28], 0
call fcn.004135e0
mov ebp, dword [esp + 0x30]
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x4c21e8
lea ecx, [esp + 0x14]
call fcn.00411f40
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 1
call fcn.004196b0
mov ecx, eax
call fcn.004184b0
mov eax, dword [esp + 0x10]
mov edi, dword [eax - 0xc]
push 0x2e
push eax
call fcn.0046450c
add esp, 8
test eax, eax
jne 0x41daf2
or eax, 0xffffffff
jmp 0x41daf8
sub eax, dword [esp + 0x10]
sar eax, 1
sub edi, eax
dec edi
push edi
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x18]
call fcn.00411640
lea ecx, [esp + 0x28]
push ecx
push 0x48f8d0
mov byte [esp + 0x24], 2
call fcn.00417470
add esp, 8
test al, al
jne 0x41db3f
lea edx, [esp + 0x28]
push edx
push str.xlsx
call fcn.00417470
add esp, 8
test al, al
je 0x41dbd2
cmp dword [0x4c2408], 0
je 0x41dbd2
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db96
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8
mov ecx, dword [esi + 0xc]
push ecx
push str.COpenAsDialog::DoModal_m_nRetVal:_d
call fcn.00427230
mov eax, dword [esp + 0x30]
mov esi, dword [0x4c2408]
add eax, 0xfffffff0
add esp, 8
mov byte [esp + 0x1c], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41dc0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dc57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8