Function at 0x4d3380
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x636cfc
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x6c3afc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
mov dword [ebp - 0xf8], eax
lea eax, [ebp - 0x80]
push eax
mov esi, ecx
call fcn.00401320
add esp, 8
xor ebx, ebx
lea ecx, [esi + 0x514]
push eax
mov dword [ebp - 4], ebx
call fcn.004cc050
cmp dword [ebp - 0x6c], 0x10
mov byte [ebp - 0xf1], al
mov dword [ebp - 4], 0xffffffff
jb 0x4d33f6
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
lea ecx, [esi + 0x2c]
cmp byte [ebp - 0xf1], bl
je 0x4d3643
push str.loading
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push ebx
call eax
push str.imgshadow
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov dword [esi + 0x458], eax
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc8]
call eax
test al, al
je 0x4d344a
cmp byte [ebp + 0xc], bl
jne 0x4d38cd
mov ecx, dword [esi + 4]
push ecx
mov ecx, dword [esi + 0x458]
call fcn.004ec430
mov ecx, dword [esi + 0x458]
push 0x6506b0
push 0xd3
call fcn.004ecfd0
movzx edx, byte [esi + 0x545]
mov ecx, dword [esi + 0x458]
push edx
call fcn.004ec410
mov eax, dword [ebp - 0xf8]
push eax
lea ecx, [ebp - 0xb8]
push ecx
call fcn.00401320
add esp, 8
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 4], 1
jb 0x4d34a8
mov edi, dword [eax]
jmp 0x4d34aa
mov edi, eax
mov eax, edi
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4d34c0
sub eax, edx
push eax
push edi
lea ecx, [ebp - 0x48]
call fcn.00403c90
lea edx, [ebp - 0x48]
push edx
lea ecx, [esi + 0x514]
mov byte [ebp - 4], 2
call fcn.004cc370
cmp dword [ebp - 0x34], 0x10
mov edi, eax
jb 0x4d34fa
mov eax, dword [ebp - 0x48]
push eax
call fcn.004effaf
add esp, 4
cmp dword [ebp - 0xa4], 0x10
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
jb 0x4d3526
mov ecx, dword [ebp - 0xb8]
push ecx
call fcn.004effaf
add esp, 4
lea edx, [ebp - 0xf0]
push edx
mov ecx, edi
mov dword [ebp - 0xa4], 0xf
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
call fcn.004cbff0
push eax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 4], 3
call fcn.00401450
add esp, 8
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.004cbdb0
mov ecx, dword [esi + 0x458]
push eax
call fcn.004edf40
cmp dword [ebp - 0x6c], 8
jb 0x4d3588
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
cmp dword [ebp - 0xdc], 0x10
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], ebx
mov word [ebp - 0x80], dx
mov dword [ebp - 4], 0xffffffff
jb 0x4d35b7
mov eax, dword [ebp - 0xf0]
push eax
call fcn.004effaf
add esp, 4
movzx ecx, byte [esi + 0x4f0]
push ecx
mov ecx, dword [esi + 0x458]
call fcn.004ec420
mov ecx, dword [esi + 0x458]
mov edx, dword [ecx]
mov eax, dword [edx + 0xcc]
push 1
call eax
mov ecx, dword [esi + 0x3a4]
push ebx
mov byte [esi + 0x46c], 1
call fcn.004b9290
mov ecx, dword [esi + 0x458]
mov byte [esi + 0x46d], bl
call fcn.004ec2b0
fmul qword [0x6506a8]
call fcn.005df180
push eax
lea ecx, [esi + 0x470]
call fcn.004cd1d0
mov ecx, dword [esi + 0x458]
push eax
call fcn.004ec2a0
mov ecx, dword [esi + 0x458]
push eax
call fcn.004ec290
push eax
lea ecx, [esi + 0x364]
push ecx
mov ecx, esi
call fcn.004d1cf0
jmp 0x4d38cd
push str.imgshadow
mov byte [esi + 0x46c], 1
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push ebx
call eax
push str.loading
lea ecx, [esi + 0x2c]
call dword [sym.imp.DuiLib.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xcc]
push 1
call eax
mov edi, 7
xor ecx, ecx
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], ebx
mov word [ebp - 0x9c], cx
xor edx, edx
mov dword [ebp - 4], 5
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
lea eax, [ebp - 0x64]
push eax
mov eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x9c]
push ecx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xfc], esp
push 0xffffffffffffffff
push ebx
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x10], ebx
push eax
mov byte [ebp - 4], 6
mov word [ecx], dx
call fcn.00403240
call fcn.00408060
add esp, 0x24
xor ecx, ecx
push 0xf
mov word [ebp - 0x48], cx
push str.S:_ML__NW___LW_
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
call fcn.00403600
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov byte [ebp - 4], 7
call fcn.004d8990
add esp, 0xc
cmp dword [ebp - 0x34], 8
mov byte [ebp - 4], 6
jb 0x4d3734
mov edx, dword [ebp - 0x48]
push edx
call fcn.004effaf
add esp, 4
push 0x12
xor eax, eax
push 0x650838
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
call fcn.00403600
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 8
call fcn.0040a950
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x4d376e
lea eax, [ebp - 0x2c]
push eax
push ebx
push 1
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0xfc], eax
cmp eax, ebx
je 0x4d37ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4d37ed
mov esi, 8
cmp dword [ebp - 0x18], esi
jb 0x4d37ac
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
cmp dword [ebp - 0x50], esi
jb 0x4d37c9
mov edx, dword [ebp - 0x64]
push edx
call fcn.004effaf
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
cmp dword [ebp - 0x88], esi
jb 0x4d38cd
mov ecx, dword [ebp - 0x9c]
push ecx
jmp 0x4d38c5
push 0x24
call fcn.004eff75
add esp, 4
cmp eax, ebx
je 0x4d380c
mov dword [eax + 0x18], 0xf
mov dword [eax + 0x14], ebx
mov byte [eax + 4], bl
mov edi, eax
jmp 0x4d380e
xor edi, edi
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0xfc]
push eax
lea ecx, [ebp - 0xd4]
push ecx
mov dword [edi + 0x20], esi
mov dword [edi], edx
call fcn.00401320
add esp, 8
push eax
lea ecx, [edi + 4]
mov byte [ebp - 4], 9
call fcn.00403740
cmp dword [ebp - 0xc0], 0x10
jb 0x4d3854
mov edx, dword [ebp - 0xd4]
push edx
call fcn.004effaf
add esp, 4
lea eax, [ebp - 0x100]
push eax
push ebx
push edi
push 0x4d1730
push ebx
push ebx
mov dword [ebp - 0x100], ebx
call fcn.005dfd06
mov esi, 8
add esp, 0x18
cmp dword [ebp - 0x18], esi
jb 0x4d3888
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004effaf
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], dx
cmp dword [ebp - 0x50], esi
jb 0x4d38aa
mov eax, dword [ebp - 0x64]
push eax
call fcn.004effaf
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x88], esi
jb 0x4d38cd
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004effaf
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005dd8e2
mov esp, ebp
pop ebp
ret 8