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

Disassembly:
mov eax, 0x215c
call fcn.005d9990
push ebx
push ebp
push esi
push edi
xor ebp, ebp
push 0x1068
push 0x67feb8
mov edi, 1
mov dword [esp + 0x18], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], ebp
xor ebx, ebx
mov dword [esp + 0x78], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x4c], ebp
call fcn.004232e0
mov eax, dword [esp + 0x2188]
add esp, 8
cmp eax, ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x84], ebp
je 0x48f4ac
mov dword [eax], ebp
lea eax, [esp + 0x9c]
push 0x1068
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x9c], ebp
call fcn.004232e0
lea ecx, [esp + 0x110c]
push 0x1068
push ecx
mov dword [esp + 0x78], ebp
call fcn.004232e0
mov edx, dword [esp + 0x2184]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x21a4]
add esp, 0x10
cmp eax, ebp
je 0x48f8bf
cmp byte [eax], 0x2d
jne 0x48f8bf
mov esi, eax
mov al, byte [esi]
test al, al
je 0x48f632
cmp al, 0x73
je 0x48f569
cmp al, 0x64
je 0x48f56d
cmp al, 0x66
je 0x48f59f
cmp al, 0x77
je 0x48f5a9
cmp al, 0x69
je 0x48f5b3
cmp al, 0x6f
je 0x48f5bd
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48f544
jmp 0x48f632
mov eax, dword [ecx]
jmp 0x48f573
mov eax, dword [ecx + 0x70fc]
push eax
call fcn.0058ea30
add esp, 4
cmp eax, ebp
mov dword [esp + 0x38], eax
je 0x48fd27
mov ecx, eax
mov edx, dword [ecx + 0x12c4]
mov ecx, dword [esp + 0x2194]
mov dword [esp + 0x24], edx
xor ebp, ebp
jmp 0x48f5c5
mov dword [esp + 0x10], 1
jmp 0x48f5c5
mov dword [esp + 0x10], 2
jmp 0x48f5c5
mov dword [esp + 0x1c], 1
jmp 0x48f5c5
mov dword [esp + 0x1c], 2
cmp byte [esi], 0
je 0x48f632
mov al, byte [esi + 1]
inc esi
test al, al
je 0x48f632
cmp al, 0x73
je 0x48f5f0
cmp al, 0x64
je 0x48f5f4
cmp al, 0x66
je 0x48f61f
cmp al, 0x77
je 0x48f626
cmp al, 0x6f
je 0x48f62d
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x48f5d2
jmp 0x48f632
mov eax, dword [ecx]
jmp 0x48f5fa
mov eax, dword [ecx + 0x70fc]
push eax
call fcn.0058ea30
add esp, 4
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x48fd27
mov ecx, eax
mov edx, dword [ecx + 0x12c4]
mov dword [esp + 0x24], edx
xor ebp, ebp
jmp 0x48f632
or dword [esp + 0x10], 4
jmp 0x48f632
or dword [esp + 0x10], 8
jmp 0x48f632
or dword [esp + 0x1c], 2
mov esi, dword [esp + 0x2174]
mov eax, dword [esi + 4]
push 0x78
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f656
mov dword [esp + 0x88], 1
mov ecx, dword [esi + 4]
push 0x6e
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f673
mov dword [esp + 0x8c], 1
mov edx, dword [esi + 4]
push 0x70
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f68d
mov dword [esp + 0x78], 1
mov eax, dword [esi + 4]
push 0x67
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f6a7
mov dword [esp + 0x74], 1
mov ecx, dword [esi + 4]
push 0x6c
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f6be
mov ebx, 1
mov edx, dword [esi + 4]
push 0x4c
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f6d8
mov dword [esp + 0x70], 1
mov eax, dword [esi + 4]
push 0x63
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f6f5
mov dword [esp + 0x90], 1
mov ecx, dword [esi + 4]
push 0x62
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f712
mov dword [esp + 0x80], 1
mov edx, dword [esi + 4]
push 0x7a
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f72c
mov dword [esp + 0x54], 1
mov eax, dword [esi + 4]
push 0x72
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f7c5
mov eax, dword [esi + 8]
cmp eax, ebp
mov edi, 2
je 0x48fd27
push 0x2d
push eax
mov dword [esp + 0x84], 1
call fcn.005d9b20
mov esi, eax
xor ebp, ebp
add esp, 8
cmp esi, ebp
je 0x48f773
mov byte [esi], 0
mov ecx, dword [esp + 0x2174]
mov eax, dword [ecx + 8]
cmp byte [eax], 0
je 0x48f796
push eax
call fcn.005d99cd
add esp, 4
dec eax
mov dword [esp + 0x4c], eax
jns 0x48f796
mov dword [esp + 0x4c], ebp
cmp esi, ebp
je 0x48f7be
mov al, byte [esi + 1]
inc esi
test al, al
je 0x48f7be
push esi
call fcn.005d99cd
mov ecx, dword [esp + 0x50]
add esp, 4
dec eax
cmp eax, ecx
mov dword [esp + 0x64], eax
jge 0x48f7be
mov edx, ecx
mov dword [esp + 0x64], edx
mov esi, dword [esp + 0x2174]
mov eax, dword [esi + 4]
push 0x61
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f7e7
mov dword [esp + 0x58], 1
mov dword [esp + 0x48], 4
mov ecx, dword [esi + 4]
push 0x74
push ecx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f8a4
mov edx, dword [esi + 4]
push 0x65
push edx
mov dword [esp + 0x50], ebp
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f81b
mov dword [esp + 0x48], 1
mov eax, dword [esi + 4]
push 0x75
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f832
or dword [esp + 0x48], 2
mov eax, dword [esi + edi*4 + 4]
inc edi
cmp eax, ebp
je 0x48fd27
push eax
call fcn.005d9a55
add esp, 4
cmp eax, 1
mov dword [esp + 0x84], eax
jg 0x48f85f
mov dword [esp + 0x84], 1
mov ecx, dword [esp + 0x2174]
mov eax, dword [ecx + edi*4 + 4]
inc edi
test eax, eax
je 0x48fd27
push eax
call fcn.005d9a55
add esp, 4
test eax, eax
mov dword [esp + 0x6c], eax
jle 0x48fd27
cmp eax, 0xff
jg 0x48fd27
mov esi, dword [esp + 0x2174]
mov dword [esp + 0x58], 1
xor ebp, ebp
mov edx, dword [esi + 4]
push 0x6b
push edx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x48f8be
mov dword [esp + 0x68], 1
inc edi
mov eax, dword [esp + 0x2174]
mov eax, dword [eax + edi*4]
cmp eax, ebp
je 0x48fd27
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_GetClassNameA]
jne 0x48fb6e
mov cl, byte [esp + 0x10]
test cl, 1
jne 0x48fab3
test cl, 2
jne 0x48f91e
test byte [esp + 0x1c], 1
jne 0x48f91e
cmp byte [eax], 0x22
je 0x48fab3
push 0x2e
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x48fab3
test byte [esp + 0x1c], 1
je 0x48fa35
mov ebx, dword [esp + 0x2174]
mov ecx, dword [ebx + edi*4]
push ecx
call fcn.00466db0
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
je 0x48fc32
mov eax, dword [ebx + edi*4 + 4]
inc edi
test eax, eax
je 0x48fd27
push eax
call fcn.005d9a55
add esp, 4
add eax, 0x1770
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x264]
push ecx
call esi
test eax, eax
mov dword [esp + 0x3c], eax
je 0x48fd27
mov edx, dword [esp + 0x217c]
push 0x1036
push edx
mov ebx, eax
push ebx
call ebp
mov eax, dword [esp + 0x217c]
push str.ListBox
push eax
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x48f9c3
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 0x48fb5a
mov ecx, dword [esp + 0x217c]
push ecx
call fcn.0048a480
add esp, 4
test eax, eax
je 0x48f9f8
push 0
push 0
push 0x146
push ebx
mov dword [esp + 0x6c], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x60], eax
jmp 0x48fb5a
mov edx, dword [esp + 0x217c]
push edx
call fcn.0048a430
add esp, 4
test eax, eax
je 0x48fd27
mov eax, dword [esp + 0x3c]
push 0
push 0
push 0xba
push eax
mov dword [esp + 0x6c], 2
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x60], eax
jmp 0x48fb5a
mov ecx, dword [esp + 0x2194]
mov edx, dword [esp + 0x2174]
mov eax, dword [edx + edi*4]
push ecx
push eax
call fcn.005091b0
add esp, 8
test eax, eax
mov dword [esp + 0x38], eax
je 0x48fdcb
mov edx, eax
mov ecx, dword [edx + 0x1314]
cmp ecx, 9
jne 0x48fa8c
mov eax, dword [edx + 0x1318]
cmp eax, 1
je 0x48fa7d
test ebx, ebx
je 0x48fa8c
cmp eax, 2
jne 0x48fa8c
mov eax, dword [edx + 0x1488]
mov dword [esp + 0x50], eax
jmp 0x48fb5a
cmp ecx, 1
jne 0x48faa4
test ebx, ebx
je 0x48faa4
mov ecx, dword [edx + 0x1488]
mov dword [esp + 0x50], ecx
jmp 0x48fb5a
mov edx, dword [edx + 0x12c4]
mov dword [esp + 0x24], edx
jmp 0x48fb5a
mov ebx, dword [esp + 0x2178]
mov eax, dword [esp + 0x2174]
push 0
push 0x400
push ebx
push edi
push eax
call fcn.0051d080
mov edi, eax
add esp, 0x14
test edi, edi
jl 0x48fd27
push ebx
push ebx
call fcn.004222f0
add esp, 8
test eax, eax
jne 0x48faf2
push 3
jmp 0x48fdcd
push 0x40
push 0x5f4c88
push ebx
call fcn.005da940
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x48fb2c
mov eax, dword [esp + 0x2174]
mov ecx, dword [eax]
push 4
push ebx
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
push 0x1000
push 0
push 0
push eax
call fcn.005dbb35
lea edx, [esp + 0xac]
add esp, 0x10
mov eax, ebx
sub edx, ebx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48fb50
mov edx, dword [esp + 0x2174]
mov eax, dword [edx + edi*4 + 4]
inc edi
test eax, eax
je 0x48fd16
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x48fd76
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x48fbc6
mov esi, dword [esp + 0x2178]
mov ebx, dword [esp + 0x2174]
push 0
push 0x400
push esi
push edi
push ebx
call fcn.0051d080
mov edi, eax
add esp, 0x14
test edi, edi
jl 0x48fe14
lea edx, [esp + 0x1104]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x48fbb7
jmp 0x48fe8f
mov cl, byte [esp + 0x10]
test cl, 4
jne 0x48fdee
test cl, 8
jne 0x48fbfb
test byte [esp + 0x1c], 2
jne 0x48fbfb
cmp byte [eax], 0x22
je 0x48fdee
push 0x2e
push eax
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x48fdee
test byte [esp + 0x1c], 2
je 0x48fd4a
mov ebx, dword [esp + 0x2174]
mov ecx, dword [ebx + edi*4]
push ecx
call fcn.00466db0
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x48fc4e
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48fc32
push eax
call fcn.005da869
add esp, 4
mov edx, dword [ebx]
push 7
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
mov eax, dword [ebx + edi*4 + 4]
inc edi
test eax, eax
je 0x48fd16
push eax
call fcn.005d9a55
add esp, 4
add eax, 0x1770
push eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x264]
push ecx
call esi
test eax, eax
mov dword [esp + 0x28], eax
je 0x48fd16
mov esi, dword [esp + 0x217c]
push 0x1036
push esi
mov ebx, eax
push ebx
call ebp
push str.ListBox
push esi
call fcn.005f1860
add esp, 8
test eax, eax
jne 0x48fcad
mov dword [esp + 0x40], eax
jmp 0x48fcd9
push esi
call fcn.0048a480
add esp, 4
test eax, eax
je 0x48fcc4
mov dword [esp + 0x40], 1
jmp 0x48fcd9
push esi
call fcn.0048a430
add esp, 4
test eax, eax
je 0x48fd09
mov dword [esp + 0x40], 2
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x48fe8f
mov edx, dword [esp + 0x28]
push 0
push 0
push 0xb
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x94], 1
jmp 0x48fe8f
push 0
push 1
push 0xb
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48fd27
push eax
call fcn.005da869
add esp, 4
mov eax, dword [esp + 0x2174]
mov ecx, dword [eax]
push 3
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
mov edx, dword [esp + 0x2194]
mov eax, dword [esp + 0x2174]
mov ecx, dword [eax + edi*4]
push edx
push ecx
call fcn.005091b0
add esp, 8
test eax, eax
mov dword [esp + 0x20], eax
je 0x48fdba
cmp dword [eax + 0x1314], 9
jne 0x48fdba
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x1318]
cmp eax, 1
je 0x48fd9a
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x48fe8f
cmp eax, 2
jne 0x48fe8f
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x1488]
push 0
push 0
push 0xb
push eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x48fe8f
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48fdcb
push eax
call fcn.005da869
add esp, 4
push 7
mov ecx, dword [esp + 0x2178]
mov edx, dword [ecx]
push 0
push edx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
mov esi, dword [esp + 0x2178]
mov ebx, dword [esp + 0x2174]
push 0
push 0x400
push esi
push edi
push ebx
call fcn.0051d080
mov edi, eax
add esp, 0x14
test edi, edi
jge 0x48fe41
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48fe25
push eax
call fcn.005da869
add esp, 4
mov eax, dword [ebx]
push 3
push 0
push eax
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
push esi
push esi
call fcn.004222f0
add esp, 8
test eax, eax
jne 0x48fe7c
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x48fe60
push eax
call fcn.005da869
add esp, 4
mov ecx, dword [ebx]
push 3
push 0
push ecx
push 0
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
mov edx, 0x67feb8
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x48fe85
mov ebx, dword [esp + 0x2174]
mov eax, dword [ebx + edi*4]
xor ebp, ebp
cmp eax, ebp
je 0x48fea0
inc edi
mov eax, dword [esp + 0x58]
xor esi, esi
xor ecx, ecx
cmp eax, ebp
je 0x48fef9
test byte [esp + 0x48], 4
je 0x48fef9
mov eax, dword [ebx + edi*4]
cmp eax, ebp
je 0x48fef9
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48fec0
sub eax, edx
add eax, 0x14
push eax
call fcn.005d9f91
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x49001b
mov edx, dword [ebx + edi*4]
push edx
push str.__s__1__2_
push esi
call fcn.005d9929
mov ecx, dword [esp + 0x2190]
add esp, 0xc
inc edi
mov edx, dword [0x645ac0]
mov eax, dword [0x645abc]
inc edx
mov dword [0x645ac0], edx
mov edx, dword [0x645ab8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x217c]
mov dword [0x645ab8], esi
mov dword [0x645abc], ecx
mov byte [eax], 0
cmp dword [ebx + edi*4], ebp
mov dword [esp + 0x70], edx
je 0x48ff42
push ebx
push eax
push edi
call fcn.0051c470
add esp, 0xc
mov eax, dword [esp + 0x38]
cmp eax, ebp
mov ebx, dword [esp + 0x20]
je 0x48ff5a
cmp ebx, ebp
je 0x48ff5a
cmp eax, ebx
je 0x49069e
mov eax, dword [esp + 0x50]
cmp eax, ebp
mov esi, dword [esp + 0x30]
je 0x48ff72
cmp esi, ebp
je 0x48ff72
cmp eax, esi
je 0x49069e
mov eax, dword [esp + 0x3c]
cmp eax, ebp
mov edi, dword [esp + 0x28]
je 0x48ff8a
cmp edi, ebp
je 0x48ff8a
cmp eax, edi
je 0x49069e
cmp dword [esp + 0x2c], ebp
je 0x48ffc1
mov al, byte [esp + 0x9c]
test al, al
je 0x48ffc1
mov al, byte [0x67feb8]
test al, al
je 0x48ffc1
lea ecx, [esp + 0x9c]
push 0x67feb8
push ecx
call fcn.005f1860
add esp, 8
test eax, eax
je 0x49069e
cmp dword [esp + 0x58], ebp
jne 0x49069e
cmp dword [esp + 0x68], ebp
jne 0x49069e
cmp dword [esp + 0x90], ebp
je 0x490131
cmp edi, ebp
je 0x4900c2
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x49006e
mov esi, dword [esp + 0x14]
push 0x5f4c90
push ebp
push 0xc
push edi
mov dword [esi + 0x3d0], 1
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x3d0], ebp
jmp 0x490131
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x49002f
push ebp
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x28]
cmp eax, ebp
je 0x490043
push ebp
push 1
push 0xb
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x490054
push eax
call fcn.005da869
add esp, 4
mov eax, dword [ebx]
push 2
push ebp
push eax
push ebp
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret
mov ecx, 1
cmp eax, ecx
jne 0x49009a
mov esi, dword [esp + 0x14]
push ebp
push ebp
push 0x14b
push edi
mov dword [esi + 0x3d0], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x3d0], ebp
jmp 0x490131
cmp eax, ebp
jne 0x490131
mov esi, dword [esp + 0x14]
push ebp
push ebp
push 0x184
push edi
mov dword [esi + 0x3d0], ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x3d0], ebp
jmp 0x490131
mov al, byte [0x67feb8]
test al, al
jne 0x4900f4
cmp esi, ebp
je 0x4900df
push ebp
push ebp
push 0x184
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x490131
cmp ebx, ebp
je 0x490131
add ebx, 0x12c4
push ebx
call fcn.004e8c50
add esp, 4
jmp 0x490131
push 0x40
push 0x5f5994
push 0x67feb8
call fcn.005da940
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x34], eax
jne 0x49011a
mov dword [esp + 0x44], 1
jmp 0x490131
push 0x1000
push ebp
push ebp
push eax
call fcn.005dbb35
add esp, 0x10
mov byte [0x67feb8], 0
cmp dword [esp + 0x44], ebp
mov dword [esp + 0x10], ebp
jne 0x490e91
mov ebx, dword [esp + 0x2178]
jmp 0x490150
mov eax, dword [esp + 0x3c]
test eax, eax
mov edx, dword [0x63caa4]
mov dword [esp + 0x1c], edx
je 0x490202
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x60]
jge 0x490e91
mov eax, dword [esp + 0x5c]
cmp eax, 2
jne 0x4901ad
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
push ebx
push ecx
push 0xc4
push edx
mov word [ebx], 0x1036
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x4901a5
mov byte [eax + ebx], 0
jmp 0x49032d
mov byte [ebx], 0
jmp 0x49032d
cmp eax, 1
jne 0x4901d6
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push ebx
push eax
push 0x148
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x490e91
jmp 0x49032d
test eax, eax
jne 0x49032d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
push ebx
push edx
push 0x189
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x490e91
jmp 0x49032d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x49023c
push eax
push 0x1036
push ebx
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x490e91
push 0xa
push ebx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x49032d
mov byte [eax], 0
jmp 0x49032d
mov eax, dword [esp + 0x50]
test eax, eax
je 0x490276
mov esi, dword [esp + 0x10]
push ebx
push esi
push 0x189
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x490ea4
mov ecx, dword [esp + 0x38]
push esi
push ecx
call fcn.0043b470
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x49032d
mov eax, dword [esp + 0x24]
test eax, eax
je 0x490ea4
mov byte [ebx], 0
mov edx, dword [eax + 0x1c]
mov ebp, dword [eax + 8]
mov dword [esp + 0x1c], edx
jmp 0x490295
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], ebp
jne 0x49032d
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jle 0x4902c8
cmp byte [ecx], 0x20
jne 0x4902be
lea esp, [esp]
test eax, eax
jle 0x4902be
mov dl, byte [ecx + 1]
inc ecx
dec eax
cmp dl, 0x20
je 0x4902b0
cmp byte [ecx], 0
jne 0x4902c8
mov ecx, 0x5f4858
mov eax, ebx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4902d0
sub eax, esi
mov esi, eax
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4902e0
sub eax, edi
add eax, esi
cmp eax, 0x1036
ja 0x49032d
mov eax, ecx
mov edx, ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4902f6
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x490302
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x490291
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x49034f
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
jl 0x490345
cmp eax, dword [esp + 0x64]
jle 0x49034f
inc eax
mov dword [esp + 0x10], eax
jmp 0x490150
mov esi, dword [esp + 0x217c]
mov al, byte [esi]
test al, al
je 0x49040a
cmp al, 0xd
jne 0x49037a
cmp byte [esi + 1], 0xa
jne 0x49037a
mov al, byte [esi + 2]
test al, al
jne 0x49037a
cmp byte [ebx], 0
je 0x49040a
lea edx, [esp + 0x9c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x490385
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4903ac
lea ecx, [esp + 0x9c]
push 0xf
push ecx
call fcn.0055a760
add esp, 8
mov eax, dword [esp + 0x74]
test eax, eax
lea edx, [esp + 0x9c]
je 0x4903fa
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edx
call fcn.0051f4b0
xor ecx, ecx
add esp, 0x5c
test eax, eax
setg cl
mov eax, ecx
jmp 0x49040f
push 1
push 0
push edx
push esi
call fcn.0058df80
add esp, 0x10
jmp 0x49040f
mov eax, 1
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x490424
test eax, eax
jne 0x490688
jmp 0x49042c
test eax, eax
je 0x490688
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x490468
lea edx, [esp + 0x9c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x490442
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x9c]
push eax
inc ecx
push ecx
push str._ld__s
push ebx
call fcn.005d9929
add esp, 0x10
mov esi, dword [esp + 0x28]
test esi, esi
je 0x490571
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x4904ed
mov ebp, dword [esp + 0x14]
push 0x5f4c8c
push ebx
mov dword [ebp + 0x3d0], 1
call fcn.005da9a0
add esp, 8
test eax, eax
jne 0x4904ba
mov edi, ebx
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4904a0
mov dx, word [0x5f4c8c]
mov word [edi], dx
mov al, byte [0x5f4c8e]
mov byte [edi + 2], al
push 0x7d000
push 0x7d000
push 1
push esi
call fcn.00489e90
add esp, 0x10
push ebx
push 0
push 0xc2
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x3d0], 0
jmp 0x49067b
cmp eax, 1
jne 0x49052c
mov edi, dword [esp + 0x14]
push ebx
push 0
push 0x143
push esi
mov dword [edi + 0x3d0], eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [edi + 0x3d0], 0
je 0x490e91
cmp eax, 0xfffffffe
je 0x490e91
jmp 0x49067b
test eax, eax
jne 0x49067b
mov edi, dword [esp + 0x14]
push ebx
push eax
push 0x180
push esi
mov dword [edi + 0x3d0], 1
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
mov dword [edi + 0x3d0], 0
je 0x490e91
cmp eax, 0xfffffffe
je 0x490e91
jmp 0x49067b
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x49064a
mov al, byte [0x67feb8]
test al, al
jne 0x490613
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4905d6
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push 0
push 0x180
push esi
call edi
cmp eax, 0xffffffff
je 0x490e91
cmp eax, 0xfffffffe
je 0x490e91
mov ecx, dword [esp + 0x54]
test ecx, ecx
mov ecx, dword [0x63cabc]
je 0x4905c7
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0x19a
push esi
call edi
jmp 0x49067b
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x490e91
mov eax, dword [esp + 0x54]
test eax, eax
mov eax, dword [0x63caa4]
je 0x4905f3
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x78]
push 0
push 0
push edx
push eax
push 0
push ebx
push ecx
call fcn.004e8ca0
add esp, 0x1c
test eax, eax
je 0x490e91
jmp 0x49067b
push 0x40
push 0x5f7b94
push 0x67feb8
call fcn.005da940
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x34], esi
je 0x490691
push 0x1000
push 0
push 0
push esi
call fcn.005dbb35
add esp, 0x10
mov byte [0x67feb8], 0
push 0xa
push ebx
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x490671
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x490660
mov ax, word [0x5f55fc]
mov word [edi], ax
push esi
push ebx
call fcn.005dc408
add esp, 8
mov eax, dword [esp + 0x2180]
test eax, eax
je 0x490688
inc dword [eax]
inc dword [esp + 0x10]
jmp 0x490150
mov dword [esp + 0x44], 1
jmp 0x490e91
mov ebx, dword [esp + 0x2178]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x3c]
test eax, eax
mov ecx, dword [0x63caa4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x1c], ecx
je 0x490799
cmp esi, dword [esp + 0x60]
jge 0x490724
mov ecx, dword [esp + 0x5c]
cmp ecx, 2
jne 0x490702
push ebx
push esi
push 0xc4
push eax
mov word [ebx], 0x1036
call ebp
test eax, eax
jl 0x4906fa
mov byte [eax + ebx], 0
jmp 0x4908bd
mov byte [ebx], 0
jmp 0x4908bd
cmp ecx, 1
jne 0x490771
push ebx
push esi
push 0x148
push eax
call ebp
cmp eax, 0xffffffff
jne 0x4908bd
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x90]
test eax, eax
je 0x490b34
test edi, edi
je 0x490ab7
mov eax, dword [esp + 0x40]
cmp eax, 2
mov esi, dword [esp + 0x14]
jne 0x490a66
push 0x5f4c90
push 0
push 0xc
push edi
mov dword [esi + 0x3d0], 1
call ebp
mov dword [esi + 0x3d0], 0
jmp 0x490b38
test ecx, ecx
jne 0x4908bd
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x3c]
push ebx
push edx
push 0x189
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
je 0x49071a
jmp 0x4908bd
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4907d3
push eax
push 0x1036
push ebx
call fcn.005da8ba
add esp, 0xc
test eax, eax
je 0x49071a
push 0xa
push ebx
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4908bd
mov byte [eax], 0
jmp 0x4908bd
mov eax, dword [esp + 0x50]
test eax, eax
je 0x490805
push ebx
push esi
push 0x189
push eax
call ebp
cmp eax, 0xffffffff
je 0x49071a
mov ecx, dword [esp + 0x38]
push esi
push ecx
call fcn.0043b470
add esp, 8
mov dword [esp + 0x1c], eax
jmp 0x4908bd
mov eax, dword [esp + 0x24]
test eax, eax
je 0x490724
mov byte [ebx], 0
mov edx, dword [eax + 0x1c]
mov ebp, dword [eax + 8]
mov dword [esp + 0x1c], edx
jmp 0x490824
mov eax, dword [esp + 0x24]
cmp dword [eax + 8], ebp
jne 0x4908bd
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
test eax, eax
jle 0x490858
cmp byte [ecx], 0x20
jne 0x49084e
jmp 0x490840
test eax, eax
jle 0x49084e
mov dl, byte [ecx + 1]
inc ecx
dec eax
cmp dl, 0x20
je 0x490840
cmp byte [ecx], 0
jne 0x490858
mov ecx, 0x5f4858
mov eax, ebx
lea esi, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x490860
sub eax, esi
mov esi, eax
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x490870
sub eax, edi
add eax, esi
cmp eax, 0x1036
ja 0x4908bd
mov eax, ecx
mov edx, ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490886
mov edi, ebx
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x490892
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [eax + 0x40]
test eax, eax
mov dword [esp + 0x24], eax
jne 0x490820
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x4908dd
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x4c]
jl 0x490a31
cmp eax, dword [esp + 0x64]
jg 0x490a31
mov esi, dword [esp + 0x217c]
cmp byte [esi], 0
je 0x49097d
lea edx, [esp + 0x9c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x4908f8
mov eax, dword [esp + 0x80]
test eax, eax
je 0x49091f
lea ecx, [esp + 0x9c]
push 0xf
push ecx
call fcn.0055a760
add esp, 8
mov eax, dword [esp + 0x74]
test eax, eax
lea edx, [esp + 0x9c]
je 0x49096d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push edx
call fcn.0051f4b0
xor ecx, ecx
add esp, 0x5c
test eax, eax
setg cl
mov eax, ecx
jmp 0x490982
push 1
push 0
push edx
push esi
call fcn.0058df80
add esp, 0x10
jmp 0x490982
mov eax, 1
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x490a25
test eax, eax
jne 0x490a2d
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push eax
push ebx
push ecx
call fcn.004e8850
add esp, 0xc
test eax, eax
je 0x49071a
mov dword [esp + 0x18], eax
mov eax, dword [eax + 0x44]
xor edx, edx
cmp eax, edx
je 0x490a2d
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x44]
mov eax, dword [esp + 0x6c]
mov esi, dword [esp + 0x84]
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
mov ecx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x44]
mov ecx, dword [edi]
mov al, byte [ecx]
test al, al
je 0x490a41
cmp esi, 1
jle 0x490a41
mov ebp, dword [esp + 0x6c]
movzx eax, al
cmp eax, ebp
jne 0x490a1a
dec esi
cmp esi, 1
jle 0x490a3d
mov al, byte [ecx + edx + 1]
inc edx
test al, al
jne 0x490a04
jmp 0x490a41
test eax, eax
jne 0x490999
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov esi, eax
jmp 0x4906af
inc edx
mov dword [edi + 8], edx
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x44]
mov edx, dword [eax]
cmp byte [edx], 0
jne 0x490a2d
mov dword [eax + 8], 0xffffffff
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
mov esi, eax
jmp 0x4906af
cmp eax, 1
jne 0x490a8c
push 0
push 0
push 0x14b
push edi
mov dword [esi + 0x3d0], eax
call ebp
mov dword [esi + 0x3d0], 0
jmp 0x490b38
test eax, eax
jne 0x490b38
push eax
push eax
push 0x184
push edi
mov dword [esi + 0x3d0], 1
call ebp
mov dword [esi + 0x3d0], 0
jmp 0x490b38
mov al, byte [0x67feb8]
test al, al
jne 0x490af1
mov eax, dword [esp + 0x30]
test eax, eax
je 0x490ad6
push 0
push 0
push 0x184
push eax
call ebp
jmp 0x490b34
mov eax, dword [esp + 0x20]
test eax, eax
je 0x490b34
mov ecx, eax
add ecx, 0x12c4
push ecx
call fcn.004e8c50
add esp, 4
jmp 0x490b34
push 0x40
push 0x5f5994
push 0x67feb8
call fcn.005da940
add esp, 0xc
test eax, eax
mov dword [esp + 0x34], eax
jne 0x490b17
mov dword [esp + 0x44], 1
jmp 0x490b34
mov edx, dword [esp + 0x34]
push 0x1000
push 0
push 0
push edx
call fcn.005dbb35
add esp, 0x10
mov byte [0x67feb8], 0
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x490b5b
mov eax, dword [esp + 0x2194]
mov ecx, dword [esp + 0x18]
push eax
push 3
push ecx
call fcn.005547c0
add esp, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x490e84
jmp 0x490b70
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x490e84
mov edx, dword [esp + 0x18]
mov ecx, dword [edx]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x490b84
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x490bf1
lea edx, [esp + 0x9c]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [eax + edx], cl
inc eax
test cl, cl
jne 0x490ba4
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
inc ecx
push ecx
push 0x5f4a40
push ebx
call fcn.005d9929
mov eax, ebx
add esp, 0xc
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x490bd0
sub eax, edx
lea edx, [esp + 0x9c]
push edx
add eax, ebx
push 0x5f6000
push eax
call fcn.005d9929
add esp, 0xc
mov eax, dword [esp + 0x68]
test eax, eax
je 0x490c5c
lea eax, [esp + 0x1104]
push eax
lea ecx, [esp + 0xa0]
push str.__s__1__
push ecx
call fcn.005d9929
mov edx, dword [esp + 0x21a0]
mov eax, dword [esp + 0x2190]
mov ecx, dword [esp + 0x219c]
push edx
mov edx, dword [esp + 0x219c]
push eax
mov eax, dword [esp + 0x219c]
push ecx
inc edx
push edx
mov edx, dword [esp + 0x218c]
push eax
push 0
push ebx
lea ecx, [esp + 0xc4]
push ecx
push edx
call fcn.004b5b40
add esp, 0x30
jmp 0x490e54
test edi, edi
je 0x490d29
mov eax, dword [esp + 0x40]
cmp eax, 2
jne 0x490cdd
push 0x5f4c8c
push ebx
mov dword [esi + 0x3d0], 1
call fcn.005da9a0
add esp, 8
test eax, eax
jne 0x490cae
mov edi, ebx
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x490c90
mov ax, word [0x5f4c8c]
mov word [edi], ax
mov cl, byte [0x5f4c8e]
mov byte [edi + 2], cl
mov edi, dword [esp + 0x28]
push 0x7d000
push 0x7d000
push 1
push edi
call fcn.00489e90
add esp, 0x10
push ebx
push 0
push 0xc2
push edi
call ebp
mov dword [esi + 0x3d0], 0
jmp 0x490e54
cmp eax, 1
jne 0x490d18
push ebx
push 0
push 0x143
push edi
mov dword [esi + 0x3d0], 1
call ebp
cmp eax, 0xffffffff
mov dword [esi + 0x3d0], 0
je 0x490e84
cmp eax, 0xfffffffe
je 0x490e84
jmp 0x490e54
test eax, eax
jne 0x490e54
push ebx
push eax
push 0x180
jmp 0x490cea
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x490e1c
mov al, byte [0x67feb8]
test al, al
jne 0x490de7
mov eax, dword [esp + 0x30]
test eax, eax
je 0x490da4
push ebx
push 0
push 0x180
mov edx, eax
push edx
call ebp
cmp eax, 0xffffffff
je 0x490e84
cmp eax, 0xfffffffe
je 0x490e84
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x490d8b
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x1c]
mov edx, dword [esp + 0x30]
push ecx
push eax
push 0x19a
push edx
call ebp
jmp 0x490e54
mov ecx, dword [0x63cabc]
mov edx, dword [esp + 0x30]
push ecx
push eax
push 0x19a
push edx
call ebp
jmp 0x490e54
mov eax, dword [esp + 0x20]
test eax, eax
je 0x490e84
mov eax, dword [esp + 0x54]
test eax, eax
je 0x490dc1
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
jmp 0x490dc6
mov eax, dword [0x63caa4]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x20]
push 0
push 0
push ecx
push eax
push 0
push ebx
push edx
call fcn.004e8ca0
add esp, 0x1c
test eax, eax
jmp 0x490d0d
push 0x40
push 0x5f7b94
push 0x67feb8
call fcn.005da940
add esp, 0xc
test eax, eax
mov dword [esp + 0x34], eax
je 0x490e7c
push 0x1000
push 0
push 0
push eax
call fcn.005dbb35
add esp, 0x10
mov byte [0x67feb8], 0
push 0xa
push ebx
call fcn.005d9b20
add esp, 8
test eax, eax
jne 0x490e46
mov edi, ebx
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x490e30
mov cx, word [0x5f55fc]
mov word [edi], cx
mov edi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
push edx
push ebx
call fcn.005dc408
add esp, 8
mov eax, dword [esp + 0x2180]
test eax, eax
je 0x490e61
inc dword [eax]
mov eax, dword [esp + 0x18]
push eax
call fcn.004e8950
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
jne 0x490b70
jmp 0x490e84
mov dword [esp + 0x44], 1
lea ecx, [esp + 0x18]
push ecx
call fcn.004e8c50
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x490ea4
mov edx, eax
push edx
call fcn.005da869
add esp, 4
mov eax, dword [0x645ab8]
xor ebx, ebx
cmp eax, ebx
je 0x490ebe
push eax
call fcn.005d9fa3
add esp, 4
mov dword [0x645ab8], ebx
mov eax, dword [0x645ac0]
dec eax
cmp eax, ebx
mov dword [0x645abc], ebx
mov dword [0x645ac0], eax
jg 0x490edb
mov dword [0x645ac0], ebx
jmp 0x490ef1
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x98]
mov dword [0x645ab8], eax
mov dword [0x645abc], ecx
mov eax, dword [esp + 0x34]
cmp eax, ebx
jne 0x490fa8
mov al, byte [0x67feb8]
test al, al
jne 0x490fb1
mov esi, dword [esp + 0x28]
cmp esi, ebx
je 0x490f5c
cmp dword [esp + 0x40], 2
jge 0x490f27
push ebx
push ebx
push 0x19e
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [esp + 0x94], ebx
je 0x490f4c
push ebx
push 1
push 0xb
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_InvalidateRect]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x215c
ret
mov esi, dword [esp + 0x30]
cmp esi, ebx
je 0x490f7e
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
push ebx
push 0x19e
push esi
call edi
push ebx
push 1
push 0xb
push esi
call edi
jmp 0x490f3c
mov esi, dword [esp + 0x20]
cmp esi, ebx
je 0x490f4c
push 1
push esi
call fcn.00591350
push ebx
push esi
call fcn.0058ee20
add esp, 0x10
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x215c
ret
push eax
call fcn.005da869
add esp, 4
cmp dword [esp + 0x44], ebx
je 0x490f4c
mov edx, dword [esp + 0x2174]
mov eax, dword [edx]
push 4
push 0x67feb8
push eax
push ebx
call fcn.0048bd90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x215c
ret