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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x455261
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x46a630]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push esi
push edi
mov eax, dword [0x46a630]
xor eax, esp
push eax
lea eax, [esp + 0x3c0]
mov dword fs:[0], eax
mov edi, ecx
push 0x448
mov dword [esp + 0x18], edi
call fcn.0041ed3d
mov esi, eax
push 0x3ed
mov ecx, edi
mov dword [esp + 0x20], esi
call fcn.0041ed3d
mov ecx, dword [0x46ff94]
mov ebx, eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x148], eax
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], 0
call eax
mov ecx, dword [ebx + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push ecx
call ebx
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x14b
push edx
call ebx
mov eax, dword [edi + 0x148]
call fcn.004184b0
mov edx, dword [eax]
mov dword [edi + 0x14c], edx
mov edx, dword [eax + 4]
lea ecx, [edi + 0x14c]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
lea ebx, [edi + 0x15c]
mov dword [ecx + 0xc], eax
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ebx
jbe 0x404810
call fcn.004366d7
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x10], eax
jbe 0x404825
call fcn.004366d7
mov eax, dword [esp + 0x10]
push esi
push ebx
push eax
push ebx
lea ecx, [esp + 0x40]
push ecx
call fcn.00406db0
xor ebx, ebx
cmp dword [edi + 0x148], ebx
je 0x404e13
mov dword [esp + 0x78], 0x45d740
mov dword [esp + 0x7c], 0x45d748
mov dword [esp + 0x80], 0x45d750
mov dword [esp + 0x84], 0x45d758
mov dword [esp + 0x10], ebx
jmp 0x404870
mov edx, dword [0x4708a8]
mov eax, dword [0x4708a4]
push ebx
push edx
push eax
push 0x398
call fcn.00402400
mov esi, eax
cmp esi, ebx
je 0x4048ee
lea ebx, [esp + 0x20]
lea eax, [esp + 0x54]
mov dword [esp + 0x20], 0x4e
call fcn.00406670
mov ebx, dword [eax]
cmp esi, ebx
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], edx
je 0x4048bc
call fcn.004366d7
mov eax, dword [esp + 0x50]
cmp dword [esp + 0x34], eax
je 0x4048e8
test ebx, ebx
jne 0x4048cf
call fcn.004366d7
mov ecx, dword [esp + 0x50]
cmp ecx, dword [ebx + 4]
jne 0x4048dd
call fcn.004366d7
mov edx, dword [esp + 0x50]
mov ecx, dword [edx + 0x10]
xor ebx, ebx
jmp 0x4048f0
xor ecx, ecx
xor ebx, ebx
jmp 0x4048f0
xor ecx, ecx
lea eax, [esp + 0x5c]
push eax
call fcn.004027d0
mov dword [esp + 0x3c8], ebx
cmp dword [eax + 0x18], 8
jb 0x40490c
mov edx, dword [eax + 4]
jmp 0x40490f
lea edx, [eax + 4]
mov eax, edx
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404930
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x90]
call fcn.00407450
mov byte [esp + 0x3c8], 2
cmp dword [esp + 0x74], 8
jb 0x404969
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0041902f
add esp, 4
mov edx, dword [esp + 0x10]
mov edx, dword [esp + edx*4 + 0x78]
mov eax, edx
mov dword [esp + 0x74], 7
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], bx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x404987
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x90]
call fcn.00407380
mov eax, dword [esp + 0x8c]
mov esi, 8
cmp dword [esp + 0xa0], esi
jae 0x4049c0
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x20]
push ebx
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x3c8], 0xffffffff
cmp dword [esp + 0xa0], esi
jb 0x4049f9
mov edx, dword [esp + 0x8c]
push edx
call fcn.0041902f
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 4
mov dword [esp + 0x10], eax
jl 0x404870
mov eax, dword [edi + 0x148]
push ebx
sub eax, 1
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x20]
push 0x14e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [esp + 0x28]
xor eax, eax
lea ebx, [esp + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
call fcn.00406710
mov ebx, dword [esp + 0x18]
mov edx, dword [ebx + 0x20]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x45d760
push 0
push 0x143
push edx
call esi
push 1
mov ecx, ebx
call fcn.0041ef1a
push 1
push 0x447
mov ecx, edi
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 1
push 0x448
mov ecx, edi
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 1
push 0x438
mov ecx, edi
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 1
push 0x44d
mov ecx, edi
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 1
push 0x44c
mov ecx, edi
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
call fcn.00418590
test al, al
mov ecx, edi
je 0x404b06
push 0x44c
call fcn.0041ed3d
mov eax, dword [eax + 0x20]
push 0
push 1
push 0xf1
push eax
call esi
xor edi, edi
jmp 0x404b24
push 0x44d
call fcn.0041ed3d
mov ecx, dword [eax + 0x20]
push 0
push 1
push 0xf1
push ecx
call esi
mov edi, 1
mov ebx, dword [esp + 0x14]
call fcn.00405bf0
mov ecx, dword [0x46ff94]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
xor esi, esi
push 2
mov dword [esp + 0x20], esi
call eax
test eax, eax
jle 0x404ddc
mov ecx, dword [0x46ff94]
mov edx, dword [ecx]
mov eax, dword [edx + 0x14]
push esi
push 2
call eax
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x404db3
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], bx
mov dword [esp + 0x3c8], 3
mov edx, dword [edi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x8c]
mov esi, 8
cmp dword [esp + 0xa0], esi
jae 0x404bb8
lea eax, [esp + 0x8c]
push ebx
push ebx
push 0x100
lea ecx, [esp + 0x2c0]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [esp + 0xa0], esi
mov eax, dword [esp + 0x8c]
jae 0x404be9
lea eax, [esp + 0x8c]
push eax
lea edx, [esp + 0xa8]
push 0x45d768
push edx
mov edx, 0x210
call fcn.00401560
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20]
push 0x14c
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
je 0x404c79
mov esi, 2
lea ebx, [ebx]
push esi
lea eax, [esp + 0x8c]
call fcn.004067d0
push eax
lea edx, [esp + 0xac]
push str._s____d
push edx
mov edx, 0x210
call fcn.00401560
mov ecx, dword [ebx + 0x20]
add esp, 0x10
lea eax, [esp + 0xa4]
push eax
push 0
push 0x14c
push ecx
add esi, 1
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x404c30
mov eax, dword [ebx + 0x20]
lea edx, [esp + 0xa4]
push edx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 8]
mov esi, dword [esp + 0x28]
mov edx, dword [edi + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 4]
test eax, eax
mov dword [esp + 0x30], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x3c], ecx
jne 0x404cc1
xor edx, edx
jmp 0x404cc9
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 4
test eax, eax
je 0x404d06
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 4
cmp edx, ecx
jae 0x404d06
mov ebx, dword [esi + 8]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
push edx
push eax
lea edx, [esp + 0x38]
mov ecx, 1
mov eax, ebx
call fcn.004080b0
add esp, 8
add ebx, 0x10
mov dword [esi + 8], ebx
jmp 0x404d25
mov ebx, dword [esi + 8]
cmp eax, ebx
jbe 0x404d12
call fcn.004366d7
push ebx
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x60]
push edx
mov eax, esi
call fcn.00406d20
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], edx
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x14]
push ecx
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0x8c], eax
call fcn.004014c0
add esp, 8
test eax, eax
je 0x404d6e
call fcn.00418590
test al, al
jne 0x404d6e
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c8], 0xffffffff
cmp dword [esp + 0xa0], 8
jb 0x404d93
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0041902f
add esp, 4
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], eax
mov word [esp + 0x8c], ax
mov ecx, dword [0x46ff94]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
add esi, 1
push 2
mov dword [esp + 0x20], esi
call eax
cmp esi, eax
jl 0x404b4a
cmp dword [esp + 0x24], 0
jne 0x404f21
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [edx + 0x148]
test eax, eax
jle 0x404f21
push 0x45d390
push ecx
push eax
call fcn.00418720
add esp, 0xc
jmp 0x404f21
mov eax, dword [0x4708a8]
mov ecx, dword [0x4708a4]
push ebx
push eax
push ecx
push 0x398
call fcn.00402400
cmp eax, ebx
je 0x404e38
push 0x32
call fcn.004023a0
jmp 0x404e3a
xor eax, eax
lea edx, [esp + 0x30]
push edx
mov ecx, eax
call fcn.004027d0
mov esi, 8
cmp dword [eax + 0x18], esi
jb 0x404e55
mov eax, dword [eax + 4]
jmp 0x404e58
add eax, 4
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x20]
push ebx
push 0x143
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esp + 0x48], esi
jb 0x404e80
mov edx, dword [esp + 0x34]
push edx
call fcn.0041902f
add esp, 4
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], bx
mov ebx, dword [esp + 0x14]
mov edi, 1
mov dword [esp + 0x48], 7
call fcn.00405bf0
push 0
push 0x447
mov ecx, ebx
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 0
push 0x448
mov ecx, ebx
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 0
push 0x438
mov ecx, ebx
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 0
push 0x44d
mov ecx, ebx
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
push 0
push 0x44c
mov ecx, ebx
call fcn.0041ed3d
mov ecx, eax
call fcn.0041ef1a
mov ecx, dword [esp + 0x18]
push 0
call fcn.0041ef1a
mov esi, dword [esp + 0x28]
mov ebx, 0x45cb8c
call fcn.00406710
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0x20]
push 0
push eax
push 0x14e
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x14]
call fcn.00405180
mov ecx, dword [esp + 0x3c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.004362fd
mov esp, ebp
pop ebp
ret 4