Function at 0x41e6b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ba8a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x4985d0]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x4985d0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], esi
call fcn.0041d0c0
xor edi, edi
push eax
mov ecx, 0x49dd80
mov dword [esp + 0xa4], edi
call fcn.0040d940
or ebx, 0xffffffff
mov dword [esp + 0xa0], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e73c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.ReplaysClient_05436F05_30EC_4adc_B3A4_88C54BC8E27C
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0xb4], eax
je 0x41e775
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41e775
push edi
push edi
push edi
push 0x41e0d0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x49dc70], eax
jmp 0x41e782
mov ecx, dword [esi + 0xb4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp dword [esi + 0xb0], edi
je 0x41e791
xor eax, eax
jmp 0x41ed81
push 0xac
call fcn.00425b4b
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov dword [esp + 0xa0], 1
je 0x41e7bf
mov ecx, dword [0x49dcd4]
push eax
call fcn.00401040
jmp 0x41e7c1
xor eax, eax
mov dword [esp + 0xa0], ebx
mov ecx, esi
mov dword [0x49dc64], eax
call fcn.00432b2c
push edi
call fcn.00433fdc
add esp, 4
push str.Replays
mov ecx, esi
call fcn.00434551
call fcn.0041d2f0
call fcn.0042eb29
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41e808
push 0x80004005
call fcn.00403740
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push str.DotA_Ball.exe
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa4], 2
call fcn.00403900
mov esi, eax
mov byte [esp + 0xa0], 3
mov eax, dword [0x49dc64]
cmp dword [eax + 0x1c], 0x10
jb 0x41e84b
mov eax, dword [eax + 8]
jmp 0x41e84e
add eax, 8
push eax
lea ecx, [esp + 0x24]
call fcn.00403900
push esi
push eax
lea ecx, [esp + 0x24]
mov bl, 4
push ecx
mov byte [esp + 0xac], bl
call fcn.00411190
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 5
call fcn.0040d940
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e8a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 3
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 0x41e8d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e8f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x41e91a
push edi
lea ecx, [esp + 0x18]
call fcn.004037c0
mov eax, dword [esp + 0x14]
push str.Client
mov ecx, str.SOFTWAREReplays_GameBox_App_
call fcn.0041d360
add esp, 4
push str.Update.exe
lea ecx, [esp + 0x20]
call fcn.00403900
mov esi, eax
mov byte [esp + 0xa0], 6
mov eax, dword [0x49dc64]
cmp dword [eax + 0x1c], 0x10
jb 0x41e954
mov eax, dword [eax + 8]
jmp 0x41e957
add eax, 8
push eax
lea ecx, [esp + 0x24]
call fcn.00403900
push esi
push eax
lea ecx, [esp + 0x20]
mov bl, 7
push ecx
mov byte [esp + 0xac], bl
call fcn.00411190
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 8
call fcn.0040d940
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41e9b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 6
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 0x41e9da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 2
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 0x41ea02
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x41ea23
push edi
lea ecx, [esp + 0x18]
call fcn.004037c0
mov eax, dword [esp + 0x14]
push str.Update
mov ecx, str.SOFTWAREReplays_GameBox_App_
call fcn.0041d360
add esp, 4
push str.Update.INI
lea ecx, [esp + 0x20]
call fcn.00403900
mov esi, eax
mov byte [esp + 0xa0], 9
mov eax, dword [0x49dc64]
cmp dword [eax + 0x1c], 0x10
jb 0x41ea5d
mov eax, dword [eax + 8]
jmp 0x41ea60
add eax, 8
push eax
lea ecx, [esp + 0x24]
call fcn.00403900
push esi
push eax
lea ecx, [esp + 0x20]
mov bl, 0xa
push ecx
mov byte [esp + 0xac], bl
call fcn.00411190
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xa4], 0xb
call fcn.0040d940
mov byte [esp + 0xa0], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41eabb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 9
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 0x41eae3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xa0], 2
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 0x41eb0b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
mov edx, dword [eax - 8]
mov ecx, 1
sub ecx, dword [eax - 4]
or edx, ecx
jge 0x41eb2c
push edi
lea ecx, [esp + 0x18]
call fcn.004037c0
mov eax, dword [esp + 0x14]
push str.Config
mov ecx, str.SOFTWAREReplays_GameBox_App_
call fcn.0041d360
mov ecx, esp
mov dword [esp + 0x24], esp
push str.DownLoadMapPath
call fcn.00403900
push ecx
mov byte [esp + 0xa8], 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push str.SOFTWAREReplays_GameBox_App_
call fcn.00403900
lea ecx, [esp + 0x20]
push ecx
mov byte [esp + 0xac], 2
call fcn.0041d8a0
add esp, 0xc
push eax
mov ecx, 0x49dd48
mov byte [esp + 0xa4], 0xd
call fcn.0040d940
mov byte [esp + 0xa0], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ebb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
push edi
push edi
push 0x41e2f0
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [0x485c78]
mov ecx, dword [0x485c74]
mov eax, dword [0x485c7c]
mov dword [esp + 0x6c], edx
mov dl, byte [0x485c84]
mov dword [esp + 0x68], ecx
mov ecx, dword [0x485c80]
mov byte [esp + 0x78], dl
mov edx, dword [0x485c0c]
mov dword [esp + 0x70], eax
mov eax, dword [str.Replays_GameBox_Wnd]
mov dword [esp + 0x74], ecx
mov ecx, dword [0x485c08]
push 0x2c
mov dword [esp + 0x88], edx
mov dword [esp + 0x80], eax
mov eax, dword [0x485c10]
mov dword [esp + 0x84], ecx
mov ecx, dword [0x485c14]
lea edx, [esp + 0x40]
push edi
push edx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
call fcn.0044bb00
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
add esp, 0xc
push 0x7f00
lea ecx, [esp + 0x80]
push edi
mov dword [esp + 0x40], 0x30
mov dword [esp + 0x44], 0x2b
mov dword [esp + 0x48], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x58], edi
call dword [sym.imp.USER32.dll_LoadCursorA]
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x68], edi
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0xc24
call fcn.00425b4b
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0xa0], 0xe
je 0x41ecbe
push eax
call fcn.00406a60
mov esi, eax
jmp 0x41ecc0
xor esi, esi
push edi
mov ecx, esi
mov byte [esp + 0xa4], 2
call fcn.0042ce5c
mov eax, dword [esi]
mov eax, dword [eax + 0x58]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push ecx
push 0x860a0000
lea edx, [esp + 0x7c]
push edx
push str.Replays_GameBox_Wnd
push edi
mov ecx, esi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
call eax
push edi
push 0x200
push edi
mov ecx, esi
call fcn.0042cd6e
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x10
call edi
push 0x11
mov ebx, eax
call edi
cdq
sub eax, edx
push 1
sar eax, 1
sub eax, 0x12c
push 0x258
push 0x320
push eax
mov eax, ebx
cdq
sub eax, edx
sar eax, 1
sub eax, 0x190
push eax
mov ecx, esi
call fcn.0042ce1e
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xa0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [ecx + 0x20], esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41ed7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.00449014
mov esp, ebp
pop ebp
ret