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

Disassembly:
sub esp, 0x470
mov eax, dword [esp + 0x478]
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp eax, edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x14], ecx
mov ebp, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x4c], edi
mov byte [0x59b078], bl
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x50], edi
je 0x47f31d
mov dword [eax], edi
mov eax, dword [ecx + 4]
cmp eax, edi
mov edx, dword [esp + 0x490]
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x94], edi
je 0x47f6f9
cmp byte [eax], 0x2d
jne 0x47f6f9
mov esi, eax
mov al, byte [esi]
test al, al
je 0x47f4b9
cmp al, 0x73
je 0x47f3ac
cmp al, 0x64
je 0x47f3d4
cmp al, 0x66
je 0x47f402
cmp al, 0x77
je 0x47f40c
cmp al, 0x69
je 0x47f416
cmp al, 0x6f
je 0x47f420
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x47f383
jmp 0x47f4b9
mov ecx, dword [edx]
call fcn.005366c0
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x47fae6
mov ecx, dword [eax + 0x6c8]
mov edx, dword [esp + 0x490]
mov dword [esp + 0x24], ecx
xor edi, edi
jmp 0x47f428
mov ecx, dword [edx + 0x1f1c]
call fcn.005366c0
cmp eax, edi
mov dword [esp + 0x3c], eax
je 0x47fae6
mov edx, eax
mov eax, dword [edx + 0x6c8]
mov edx, dword [esp + 0x490]
mov dword [esp + 0x24], eax
xor edi, edi
jmp 0x47f428
mov dword [esp + 0x10], 1
jmp 0x47f428
mov dword [esp + 0x10], 2
jmp 0x47f428
mov dword [esp + 0x40], 1
jmp 0x47f428
mov dword [esp + 0x40], 2
cmp byte [esi], 0
je 0x47f4b9
mov al, byte [esi + 1]
inc esi
test al, al
je 0x47f4b9
lea ecx, [ecx]
cmp al, 0x73
je 0x47f45e
cmp al, 0x64
je 0x47f481
cmp al, 0x66
je 0x47f4a6
cmp al, 0x77
je 0x47f4ad
cmp al, 0x6f
je 0x47f4b4
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x47f440
jmp 0x47f4b9
mov ecx, dword [edx]
call fcn.005366c0
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x47fae6
mov ecx, eax
mov edx, dword [ecx + 0x6c8]
mov dword [esp + 0x24], edx
xor edi, edi
jmp 0x47f4b9
mov ecx, dword [edx + 0x1f1c]
call fcn.005366c0
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x47fae6
mov ecx, dword [eax + 0x6c8]
mov dword [esp + 0x24], ecx
xor edi, edi
jmp 0x47f4b9
or dword [esp + 0x10], 4
jmp 0x47f4b9
or dword [esp + 0x10], 8
jmp 0x47f4b9
or dword [esp + 0x40], 2
mov esi, dword [esp + 0x14]
mov edx, dword [esi + 4]
push 0x78
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f4d7
mov dword [esp + 0x74], 1
mov eax, dword [esi + 4]
push 0x6e
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f4f1
mov dword [esp + 0x78], 1
mov ecx, dword [esi + 4]
push 0x70
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f50e
mov dword [esp + 0x80], 1
mov edx, dword [esi + 4]
push 0x67
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f52b
mov dword [esp + 0x84], 1
mov eax, dword [esi + 4]
push 0x6c
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f542
mov ebx, 1
mov ecx, dword [esi + 4]
push 0x4c
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f55f
mov dword [esp + 0x90], 1
mov edx, dword [esi + 4]
push 0x63
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f57c
mov dword [esp + 0x8c], 1
mov eax, dword [esi + 4]
push 0x62
push eax
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f599
mov dword [esp + 0x88], 1
mov ecx, dword [esi + 4]
push 0x72
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f625
mov eax, dword [esi + 8]
cmp eax, edi
mov ebp, 2
je 0x47fae6
push 0x2d
push eax
mov dword [esp + 0x78], 1
call fcn.00563730
mov esi, eax
xor edi, edi
add esp, 8
cmp esi, edi
je 0x47f5d9
mov byte [esi], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
cmp byte [eax], 0
je 0x47f5f9
push eax
call fcn.00563a14
add esp, 4
dec eax
mov dword [esp + 0x54], eax
jns 0x47f5f9
mov dword [esp + 0x54], edi
cmp esi, edi
je 0x47f621
mov al, byte [esi + 1]
inc esi
test al, al
je 0x47f621
push esi
call fcn.00563a14
mov ecx, dword [esp + 0x58]
add esp, 4
dec eax
cmp eax, ecx
mov dword [esp + 0x6c], eax
jge 0x47f621
mov eax, ecx
mov dword [esp + 0x6c], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 4]
push 0x61
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f647
mov dword [esp + 0x64], 1
mov dword [esp + 0x48], 4
mov edx, dword [esi + 4]
push 0x74
push edx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f6f4
mov eax, dword [esi + 4]
push 0x65
push eax
mov dword [esp + 0x50], edi
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f67b
mov dword [esp + 0x48], 1
mov ecx, dword [esi + 4]
push 0x75
push ecx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47f692
or dword [esp + 0x48], 2
mov eax, dword [esi + ebp*4 + 4]
inc ebp
cmp eax, edi
je 0x47fae6
push eax
call fcn.00563a6c
add esp, 4
cmp eax, 1
mov dword [esp + 0x50], eax
jg 0x47f6b9
mov dword [esp + 0x50], 1
mov edx, dword [esp + 0x14]
mov eax, dword [edx + ebp*4 + 4]
inc ebp
test eax, eax
je 0x47fae6
push eax
call fcn.00563a6c
add esp, 4
test eax, eax
mov dword [esp + 0x7c], eax
jle 0x47fae6
cmp eax, 0xff
jg 0x47fae6
mov dword [esp + 0x64], 1
xor edi, edi
mov ecx, dword [esp + 0x14]
inc ebp
mov eax, dword [ecx + ebp*4]
cmp eax, edi
je 0x47fae6
mov ecx, dword [esp + 0x3c]
test ecx, ecx
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
jne 0x47f990
mov cl, byte [esp + 0x10]
test cl, 1
jne 0x47f8f1
test cl, 2
jne 0x47f751
test byte [esp + 0x40], 1
jne 0x47f751
cmp byte [eax], 0x22
je 0x47f8f1
push 0x2e
push eax
call fcn.00563730
add esp, 8
test eax, eax
jne 0x47f8f1
test byte [esp + 0x40], 1
je 0x47f860
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + ebp*4]
call fcn.00456fb0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x47f9f0
mov eax, dword [ebx + ebp*4 + 4]
inc ebp
test eax, eax
je 0x47fae6
push eax
call fcn.00563a6c
add esp, 4
add eax, 0x1770
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0xc8]
push ecx
call esi
test eax, eax
mov dword [esp + 0x38], eax
je 0x47fae6
mov edx, dword [esp + 0x484]
push 0x3e7
push edx
mov ebx, eax
push ebx
call edi
mov eax, dword [esp + 0x484]
push str.ListBox
push eax
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x47f7ef
push eax
push eax
push 0x18b
push ebx
mov dword [esp + 0x6c], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x60], eax
jmp 0x47f97f
mov ecx, dword [esp + 0x484]
push str.ComboBox
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x47f827
push eax
push eax
push 0x146
push ebx
mov dword [esp + 0x6c], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x60], eax
jmp 0x47f97f
mov ecx, dword [esp + 0x484]
call fcn.00474690
test eax, eax
je 0x47fae6
mov edx, dword [esp + 0x38]
push 0
push 0
push 0xba
push edx
mov dword [esp + 0x6c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x60], eax
jmp 0x47f97f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x490]
mov ecx, dword [eax + ebp*4]
call fcn.004dc5a0
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x47f898
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 7
push eax
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x700]
cmp ecx, 9
jne 0x47f8ca
mov eax, dword [edx + 0x704]
cmp eax, 1
je 0x47f8bb
test ebx, ebx
je 0x47f8ca
cmp eax, 2
jne 0x47f8ca
mov edx, dword [edx + 0x86c]
mov dword [esp + 0x58], edx
jmp 0x47f97f
cmp ecx, 1
jne 0x47f8e2
test ebx, ebx
je 0x47f8e2
mov eax, dword [edx + 0x86c]
mov dword [esp + 0x58], eax
jmp 0x47f97f
mov ecx, dword [edx + 0x6c8]
mov dword [esp + 0x24], ecx
jmp 0x47f97f
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
push 0
push 0x104
push ebx
mov edx, ebp
call fcn.004ede70
mov ebp, eax
test ebp, ebp
jl 0x47fae6
mov edx, ebx
mov ecx, ebx
call fcn.0041ce00
test eax, eax
je 0x47fae6
push 0x40
push 0x574b08
push ebx
call fcn.00563d6a
add esp, 0xc
test eax, eax
mov dword [esp + 0x34], eax
jne 0x47f958
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 4
push ebx
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
push 0x1000
push 0
push 0
push eax
call fcn.00564ab1
lea edx, [esp + 0xa8]
add esp, 0x10
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47f975
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + ebp*4 + 4]
inc ebp
test eax, eax
je 0x47fad5
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x47fb28
mov cl, byte [esp + 0x10]
test cl, 4
jne 0x47fb9e
test cl, 8
jne 0x47f9d1
test byte [esp + 0x40], 2
jne 0x47f9d1
cmp byte [eax], 0x22
je 0x47fb9e
push 0x2e
push eax
call fcn.00563730
add esp, 8
test eax, eax
jne 0x47fb9e
test byte [esp + 0x40], 2
je 0x47fb04
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + ebp*4]
call fcn.00456fb0
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x47fa0a
mov edx, dword [ebx]
push 7
push 0
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov eax, dword [ebx + ebp*4 + 4]
inc ebp
test eax, eax
je 0x47fad5
push eax
call fcn.00563a6c
mov edx, dword [esp + 0x20]
add esp, 4
add eax, 0x1770
push eax
mov eax, dword [edx + 0xc8]
push eax
call esi
test eax, eax
mov dword [esp + 0x20], eax
je 0x47fad5
mov esi, dword [esp + 0x484]
push 0x3e7
push esi
mov ebx, eax
push ebx
call edi
push str.ListBox
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x47fa69
mov dword [esp + 0x44], eax
jmp 0x47fa98
push str.ComboBox
push esi
call fcn.00572b46
add esp, 8
test eax, eax
jne 0x47fa85
mov dword [esp + 0x44], 1
jmp 0x47fa98
mov ecx, esi
call fcn.00474690
test eax, eax
je 0x47fac8
mov dword [esp + 0x44], 2
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x47fc0a
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0xb
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x94], 1
jmp 0x47fc0a
push 0
push 1
push 0xb
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47fae6
push eax
call fcn.00563cbd
add esp, 4
mov edx, dword [esp + 0x14]
mov edx, dword [edx]
push 3
push 0
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x490]
mov ecx, dword [eax + ebp*4]
call fcn.004dc5a0
test eax, eax
mov dword [esp + 0x18], eax
je 0x47fb6f
cmp dword [eax + 0x700], 9
jne 0x47fb6f
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x704]
cmp eax, 1
je 0x47fb4f
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x47fc0a
cmp eax, 2
jne 0x47fc0a
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x86c]
push 0
push 0
push 0xb
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x47fc0a
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47fb80
push eax
call fcn.00563cbd
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [eax]
push 7
push 0
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
push 0
push 0x104
push esi
mov edx, ebp
mov ecx, edi
call fcn.004ede70
mov ebp, eax
test ebp, ebp
jl 0x47fbca
mov edx, esi
mov ecx, esi
call fcn.0041ce00
test eax, eax
jne 0x47fbf5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47fbdb
push eax
call fcn.00563cbd
add esp, 4
mov edx, dword [edi]
push 3
push 0
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov edx, 0x59b078
mov eax, esi
sub edx, esi
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x47fc00
mov esi, dword [esp + 0x14]
mov eax, dword [esi + ebp*4]
xor ebx, ebx
cmp eax, ebx
je 0x47fc18
inc ebp
cmp dword [esp + 0x64], ebx
mov dword [0x596540], ebx
mov dword [0x596544], ebx
mov dword [0x596548], ebx
je 0x47fd21
test byte [esp + 0x48], 4
je 0x47fd21
mov eax, dword [esi + ebp*4]
cmp eax, ebx
je 0x47fd21
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47fc50
sub eax, edx
add eax, 0x14
push eax
call fcn.005635a3
add esp, 4
cmp eax, ebx
mov dword [0x596540], eax
je 0x47fcab
mov ecx, dword [esi + ebp*4]
push ecx
push str.__s__1__2_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push 0x3e7
call fcn.005635a3
mov edi, eax
add esp, 0x10
cmp edi, ebx
mov dword [0x596544], edi
je 0x47fcfd
xor eax, eax
mov ecx, 0xf9
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [0x596540], ebx
jne 0x47fd14
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x47fcbf
push ebx
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x47fcd3
push ebx
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x34]
cmp eax, ebx
je 0x47fce4
push eax
call fcn.00563cbd
add esp, 4
mov edx, dword [esi]
push 2
push ebx
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10
mov edx, dword [0x596540]
push edx
call fcn.005635b5
add esp, 4
mov dword [0x596540], ebx
jmp 0x47fcab
mov eax, dword [esp + 0x48c]
mov dword [0x596548], eax
inc ebp
mov edx, dword [esp + 0x484]
mov byte [edx], 0
cmp dword [esi + ebp*4], ebx
je 0x47fd38
push esi
mov ecx, ebp
call fcn.004ed300
mov eax, dword [esp + 0x3c]
cmp eax, ebx
mov ebp, dword [esp + 0x18]
je 0x47fd4c
cmp ebp, ebx
je 0x47fd4c
cmp eax, ebp
je 0x47fdb1
mov eax, dword [esp + 0x58]
cmp eax, ebx
mov esi, dword [esp + 0x28]
je 0x47fd60
cmp esi, ebx
je 0x47fd60
cmp eax, esi
je 0x47fdb1
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov edi, dword [esp + 0x20]
je 0x47fd74
cmp edi, ebx
je 0x47fd74
cmp eax, edi
je 0x47fdb1
cmp dword [esp + 0x34], ebx
je 0x47fda7
mov al, byte [esp + 0x98]
test al, al
je 0x47fda7
mov al, byte [0x59b078]
test al, al
je 0x47fda7
lea ecx, [esp + 0x98]
push 0x59b078
push ecx
call fcn.00572b46
add esp, 8
test eax, eax
je 0x47fdb1
cmp dword [esp + 0x64], ebx
je 0x480532
mov dword [esp + 0x10], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x47fe9d
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x60]
jge 0x47fe24
mov edx, dword [esp + 0x5c]
cmp edx, 2
jne 0x47fe06
push ebx
push eax
push 0xc4
push ecx
mov word [ebx], 0x3b5
call edi
test eax, eax
jl 0x47fdfe
mov byte [eax + ebx], 0
jmp 0x47ff87
mov byte [ebx], 0
jmp 0x47ff87
cmp edx, 1
jne 0x47fe75
push ebx
push eax
push 0x148
push ecx
call edi
cmp eax, 0xffffffff
jne 0x47ff87
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x8c]
test eax, eax
mov ebp, dword [esp + 0x20]
je 0x48019d
test ebp, ebp
je 0x480124
mov eax, dword [esp + 0x44]
cmp eax, 2
mov esi, dword [esp + 0x1c]
jne 0x4800d3
push 0x574b10
push 0
push 0xc
push ebp
mov dword [esi + 0x164], 1
call edi
mov dword [esi + 0x164], 0
jmp 0x4801a1
test edx, edx
jne 0x47ff87
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
push ebx
push edx
push 0x189
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x47fe1e
jmp 0x47ff87
mov eax, dword [esp + 0x34]
test eax, eax
je 0x47fed7
push eax
push 0x3e7
push ebx
call fcn.00563d13
add esp, 0xc
test eax, eax
je 0x47fe1e
push 0xa
push ebx
call fcn.00563730
add esp, 8
test eax, eax
je 0x47ff87
mov byte [eax], 0
jmp 0x47ff87
mov eax, dword [esp + 0x58]
test eax, eax
je 0x47fefb
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push 0x189
push eax
call edi
cmp eax, 0xffffffff
je 0x47fe1e
jmp 0x47ff87
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47fe24
mov byte [ebx], 0
mov ebp, dword [eax + 8]
lea ecx, [ecx]
mov edx, dword [esp + 0x24]
cmp dword [edx + 8], ebp
jne 0x47ff87
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ff20
sub eax, edx
mov esi, eax
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ff36
sub eax, edi
add eax, esi
cmp eax, 0x3b5
ja 0x47ff87
mov eax, edx
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x47ff50
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x47ff60
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x40]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x47ff10
mov eax, dword [esp + 0x70]
test eax, eax
je 0x47ffa9
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jl 0x47ff9f
cmp eax, dword [esp + 0x6c]
jle 0x47ffa9
inc eax
mov dword [esp + 0x10], eax
jmp 0x47fdbd
mov esi, dword [esp + 0x484]
cmp byte [esi], 0
je 0x480022
lea edx, [esp + 0x98]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x47ffc0
mov eax, dword [esp + 0x88]
test eax, eax
je 0x47ffe6
mov edx, 0xf
lea ecx, [esp + 0x98]
call fcn.00518d60
mov eax, dword [esp + 0x84]
test eax, eax
je 0x48000e
push 0
push 0
mov edx, esi
lea ecx, [esp + 0xa0]
call fcn.004efb40
xor edx, edx
test eax, eax
setg dl
mov eax, edx
jmp 0x480027
push 1
push 0
lea edx, [esp + 0xa0]
mov ecx, esi
call fcn.00535d60
jmp 0x480027
mov eax, 1
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4800a4
test eax, eax
jne 0x4800a8
mov ecx, dword [esp + 0x30]
push 0
mov edx, ebx
call fcn.004c2560
test eax, eax
je 0x47fe1e
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x44]
xor ecx, ecx
cmp eax, ecx
je 0x4800ca
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x50]
mov dword [eax + 0x20], ebp
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x44]
mov dword [edx + 8], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x44]
mov eax, dword [esp + 0x48]
mov dword [edx + 0xc], eax
mov edx, dword [esp + 0x30]
mov edi, dword [edx + 0x44]
mov edx, dword [edi]
mov al, byte [edx]
test al, al
je 0x4800b5
cmp esi, 1
jle 0x4800b5
movzx eax, al
cmp eax, ebp
jne 0x480099
dec esi
cmp esi, 1
jle 0x4800b1
mov al, byte [edx + ecx + 1]
inc ecx
test al, al
jne 0x480087
jmp 0x4800b5
test eax, eax
jne 0x480033
inc dword [esp + 0x10]
jmp 0x47fdbd
inc ecx
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 0x44]
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x4800ca
mov dword [eax + 8], 0xffffffff
inc dword [esp + 0x10]
jmp 0x47fdbd
cmp eax, 1
jne 0x4800f9
push 0
push 0
push 0x14b
push ebp
mov dword [esi + 0x164], eax
call edi
mov dword [esi + 0x164], 0
jmp 0x4801a1
test eax, eax
jne 0x4801a1
push eax
push eax
push 0x184
push ebp
mov dword [esi + 0x164], 1
call edi
mov dword [esi + 0x164], 0
jmp 0x4801a1
mov al, byte [0x59b078]
test al, al
jne 0x48015a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x480143
push 0
push 0
push 0x184
push eax
call edi
jmp 0x48019d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48019d
mov ecx, eax
add ecx, 0x6c8
call fcn.004c29d0
jmp 0x48019d
push 0x40
push 0x575698
push 0x59b078
call fcn.00563d6a
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x480180
mov dword [esp + 0x4c], 1
jmp 0x48019d
mov ecx, dword [esp + 0x2c]
push 0x1000
push 0
push 0
push ecx
call fcn.00564ab1
add esp, 0x10
mov byte [0x59b078], 0
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4801c3
mov edx, dword [esp + 0x490]
mov ecx, dword [esp + 0x30]
push edx
mov edx, 3
call fcn.00517550
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x48045e
mov dword [esp + 0x50], 1
jmp 0x4801e0
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x48045e
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4801f4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x480256
lea edx, [esp + 0x98]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x480211
mov ecx, dword [esp + 0x50]
push ecx
push 0x5748f8
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480234
sub eax, edx
lea edx, [esp + 0x98]
push edx
add eax, ebx
push 0x575728
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
test ebp, ebp
je 0x480326
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x4802da
push 0x574b0c
push ebx
mov dword [esi + 0x164], 1
call fcn.00563db0
add esp, 8
test eax, eax
jne 0x4802aa
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480286
mov ax, word [0x574b0c]
mov ebp, dword [esp + 0x20]
mov word [edi], ax
mov cl, byte [0x574b0e]
mov byte [edi + 2], cl
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x7d000
push 0x7d000
mov edx, 1
mov ecx, ebp
call fcn.004742f0
push ebx
push 0
push 0xc2
push ebp
call edi
mov dword [esi + 0x164], 0
jmp 0x480429
cmp eax, 1
jne 0x480315
push ebx
push 0
push 0x143
push ebp
mov dword [esi + 0x164], 1
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x164], 0
je 0x48045e
cmp eax, 0xfffffffe
je 0x48045e
jmp 0x480429
test eax, eax
jne 0x480429
push ebx
push eax
push 0x180
jmp 0x4802e7
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4803e9
mov al, byte [0x59b078]
test al, al
jne 0x4803ae
mov eax, dword [esp + 0x28]
test eax, eax
je 0x48037b
push ebx
push 0
push 0x180
mov edx, eax
push edx
call edi
cmp eax, 0xffffffff
je 0x48045e
cmp eax, 0xfffffffe
je 0x48045e
mov ecx, dword [0x5940b4]
mov edx, dword [esp + 0x28]
push ecx
push eax
push 0x19a
push edx
call edi
jmp 0x480429
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48045e
mov eax, dword [esp + 0x80]
mov ecx, dword [0x59409c]
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x28]
push 0
mov edx, ebx
call fcn.004c2a20
test eax, eax
jmp 0x48030a
push 0x40
push 0x576d90
push 0x59b078
call fcn.00563d6a
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x480456
push 0x1000
push 0
mov edx, eax
push 0
push edx
call fcn.00564ab1
add esp, 0x10
mov byte [0x59b078], 0
push 0xa
push ebx
call fcn.00563730
add esp, 8
test eax, eax
jne 0x48041b
mov edi, ebx
dec edi
jmp 0x480400
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480400
mov ax, word [0x575404]
mov ebp, dword [esp + 0x20]
mov word [edi], ax
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
call fcn.00564ff0
add esp, 8
mov eax, dword [esp + 0x488]
test eax, eax
je 0x480436
inc dword [eax]
mov ecx, dword [esp + 0x30]
call fcn.004c2680
mov edx, dword [esp + 0x50]
inc edx
test eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], edx
jne 0x4801e0
jmp 0x48045e
mov dword [esp + 0x4c], 1
lea ecx, [esp + 0x30]
call fcn.004c29d0
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x480484
mov edx, eax
push edx
call fcn.00563cbd
add esp, 4
mov eax, dword [0x596540]
test eax, eax
je 0x4804a0
push eax
call fcn.005635b5
add esp, 4
mov dword [0x596540], 0
mov eax, dword [0x596544]
test eax, eax
je 0x4804bc
push eax
call fcn.005635b5
add esp, 4
mov dword [0x596544], 0
mov eax, dword [esp + 0x2c]
test eax, eax
mov dword [0x596548], 0
jne 0x480b5c
mov al, byte [0x59b078]
test al, al
jne 0x480b69
test edi, edi
je 0x480af7
cmp dword [esp + 0x44], 2
jge 0x4804fa
push 0
push 0
push 0x19e
push edi
call ebp
mov eax, dword [esp + 0x94]
test eax, eax
je 0x480520
push 0
push 1
push 0xb
push edi
call ebp
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x470
ret 0x10
cmp dword [esp + 0x8c], ebx
je 0x480637
cmp edi, ebx
je 0x4805cc
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x480578
mov esi, dword [esp + 0x1c]
push 0x574b10
push ebx
push 0xc
push edi
mov dword [esi + 0x164], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x164], ebx
jmp 0x480637
mov ecx, 1
cmp eax, ecx
jne 0x4805a4
mov esi, dword [esp + 0x1c]
push ebx
push ebx
push 0x14b
push edi
mov dword [esi + 0x164], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x164], ebx
jmp 0x480637
cmp eax, ebx
jne 0x480637
mov esi, dword [esp + 0x1c]
push ebx
push ebx
push 0x184
push edi
mov dword [esi + 0x164], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x164], ebx
jmp 0x480637
mov al, byte [0x59b078]
test al, al
jne 0x4805fa
cmp esi, ebx
je 0x4805e9
push ebx
push ebx
push 0x184
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x480637
cmp ebp, ebx
je 0x480637
lea ecx, [ebp + 0x6c8]
call fcn.004c29d0
jmp 0x480637
push 0x40
push 0x575698
push 0x59b078
call fcn.00563d6a
add esp, 0xc
cmp eax, ebx
mov dword [esp + 0x2c], eax
jne 0x480620
mov dword [esp + 0x4c], 1
jmp 0x480637
push 0x1000
push ebx
push ebx
push eax
call fcn.00564ab1
add esp, 0x10
mov byte [0x59b078], 0
cmp dword [esp + 0x4c], ebx
mov dword [esp + 0x10], ebx
jne 0x480467
mov ebx, dword [esp + 0x68]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
jmp 0x480660
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4806fa
mov edx, dword [esp + 0x10]
cmp edx, dword [esp + 0x60]
jge 0x480471
mov eax, dword [esp + 0x5c]
cmp eax, 2
jne 0x4806ad
mov ecx, dword [esp + 0x38]
push ebx
mov eax, edx
push eax
push 0xc4
push ecx
mov word [ebx], 0x3b5
call ebp
test eax, eax
jl 0x4806a5
mov byte [eax + ebx], 0
jmp 0x4807f5
mov byte [ebx], 0
jmp 0x4807f5
cmp eax, 1
jne 0x4806d2
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
push ebx
push edx
push 0x148
push eax
call ebp
cmp eax, 0xffffffff
je 0x480471
jmp 0x4807f5
test eax, eax
jne 0x4807f5
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x38]
push ebx
push ecx
push 0x189
push edx
call ebp
cmp eax, 0xffffffff
je 0x480471
jmp 0x4807f5
mov eax, dword [esp + 0x34]
test eax, eax
je 0x480734
push eax
push 0x3e7
push ebx
call fcn.00563d13
add esp, 0xc
test eax, eax
je 0x480471
push 0xa
push ebx
call fcn.00563730
add esp, 8
test eax, eax
je 0x4807e7
mov byte [eax], 0
jmp 0x4807f5
mov eax, dword [esp + 0x58]
test eax, eax
je 0x48075a
mov ecx, dword [esp + 0x10]
push ebx
push ecx
push 0x189
mov edx, eax
push edx
call ebp
cmp eax, 0xffffffff
je 0x480484
jmp 0x4807f5
mov eax, dword [esp + 0x24]
test eax, eax
je 0x480484
mov byte [ebx], 0
mov ebp, dword [eax + 8]
lea esp, [esp]
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], ebp
jne 0x4807e7
mov eax, ebx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480780
mov ecx, dword [esp + 0x24]
sub eax, edx
mov edx, dword [ecx]
mov esi, eax
mov eax, edx
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x480796
sub eax, edi
add eax, esi
cmp eax, 0x3b5
ja 0x4807e7
mov eax, edx
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4807b0
mov edi, ebx
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4807c0
mov ecx, eax
shr ecx, 2
mov esi, edx
mov edx, dword [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x480770
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x70]
test eax, eax
je 0x480817
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x54]
jl 0x48080d
cmp eax, dword [esp + 0x6c]
jle 0x480817
inc eax
mov dword [esp + 0x10], eax
jmp 0x480660
mov ecx, dword [esp + 0x484]
mov al, byte [ecx]
test al, al
je 0x4808bc
cmp al, 0xd
jne 0x48083e
cmp byte [ecx + 1], 0xa
jne 0x48083e
mov al, byte [ecx + 2]
test al, al
jne 0x48083e
cmp byte [ebx], 0
je 0x4808bc
lea edx, [esp + 0x98]
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x480850
mov eax, dword [esp + 0x88]
test eax, eax
je 0x480876
mov edx, 0xf
lea ecx, [esp + 0x98]
call fcn.00518d60
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4808a3
mov edx, dword [esp + 0x484]
push 0
push 0
lea ecx, [esp + 0xa0]
call fcn.004efb40
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
jmp 0x4808c1
mov ecx, dword [esp + 0x484]
push 1
push 0
lea edx, [esp + 0xa0]
call fcn.00535d60
jmp 0x4808c1
mov eax, 1
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x4808d3
test eax, eax
jne 0x480ae1
jmp 0x4808db
test eax, eax
je 0x480ae1
mov eax, dword [esp + 0x78]
test eax, eax
je 0x480917
lea edx, [esp + 0x98]
mov eax, ebx
sub edx, ebx
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4808f0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x98]
push edx
inc eax
push eax
push str._ld__s
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
test edi, edi
je 0x4809e2
mov eax, dword [esp + 0x44]
cmp eax, 2
jne 0x480996
push 0x574b0c
push ebx
mov dword [esi + 0x164], 1
call fcn.00563db0
add esp, 8
test eax, eax
jne 0x480966
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480947
mov cx, word [0x574b0c]
mov word [edi], cx
mov dl, byte [0x574b0e]
mov byte [edi + 2], dl
mov edi, dword [esp + 0x20]
push 0x7d000
push 0x7d000
mov edx, 1
mov ecx, edi
call fcn.004742f0
push ebx
push 0
push 0xc2
push edi
call ebp
mov dword [esi + 0x164], 0
jmp 0x480ad4
cmp eax, 1
jne 0x4809d1
push ebx
push 0
push 0x143
push edi
mov dword [esi + 0x164], 1
call ebp
cmp eax, 0xffffffff
mov dword [esi + 0x164], 0
je 0x480471
cmp eax, 0xfffffffe
je 0x480471
jmp 0x480ad4
test eax, eax
jne 0x480ad4
push ebx
push eax
push 0x180
jmp 0x4809a3
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x480a9f
mov al, byte [0x59b078]
test al, al
jne 0x480a68
mov eax, dword [esp + 0x28]
test eax, eax
je 0x480a35
push ebx
push 0
push 0x180
push eax
call ebp
cmp eax, 0xffffffff
je 0x480471
cmp eax, 0xfffffffe
je 0x480471
mov ecx, dword [0x5940b4]
mov edx, dword [esp + 0x28]
push ecx
push eax
push 0x19a
push edx
call ebp
jmp 0x480ad4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480471
mov eax, dword [esp + 0x80]
mov ecx, dword [0x59409c]
push 0
push 0
push eax
push ecx
mov ecx, dword [esp + 0x28]
push 0
mov edx, ebx
call fcn.004c2a20
test eax, eax
jmp 0x4809c6
push 0x40
push 0x576d90
push 0x59b078
call fcn.00563d6a
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x480aea
push 0x1000
push 0
mov edx, eax
push 0
push edx
call fcn.00564ab1
add esp, 0x10
mov byte [0x59b078], 0
push 0xa
push ebx
call fcn.00563730
add esp, 8
test eax, eax
jne 0x480ac6
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x480ab1
mov ax, word [0x575404]
mov word [edi], ax
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
push ecx
push ebx
call fcn.00564ff0
add esp, 8
mov eax, dword [esp + 0x488]
test eax, eax
je 0x480ae1
inc dword [eax]
inc dword [esp + 0x10]
jmp 0x480660
mov dword [esp + 0x4c], 1
jmp 0x480471
mov eax, dword [esp + 0x28]
test eax, eax
je 0x480b27
push 0
push 0
push 0x19e
mov esi, eax
push esi
call ebp
push 0
push 1
push 0xb
push esi
call ebp
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
jmp 0x48051a
mov eax, dword [esp + 0x18]
test eax, eax
je 0x480520
mov esi, eax
mov edx, 1
mov ecx, esi
call fcn.005385e0
xor edx, edx
mov ecx, esi
call fcn.00536a00
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x470
ret 0x10
mov eax, dword [esp + 0x2c]
push eax
call fcn.00563cbd
add esp, 4
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x480520
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push 4
push 0x59b078
xor ecx, ecx
call fcn.00475f10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x470
ret 0x10