Function at 0x100308b
Capabilities:
Create thread
Inspect load icon resource
Link many functions at runtime
Query environment variable

Disassembly:
sub esp, 0x4c4
push ebx
push ebp
push esi
mov ebx, 0x10084c4
push edi
mov edi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push ebx
push 0x1008630
call edi
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
mov esi, 0x10084c0
je 0x1003117
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1003117
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1003117
push esi
push 0x1008610
call ebp
pop ecx
test al, al
pop ecx
je 0x1003117
push ebx
push 0x1008610
call ebp
pop ecx
test al, al
pop ecx
je 0x1003117
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push 0x1008974
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [0x1008928]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1008590], eax
call ebp
push dword [0x10086d0]
mov dword [esp + 0x14], eax
call ebp
push dword [0x1008544]
mov dword [esp + 0x20], eax
call ebp
push dword [0x1008560]
call ebp
push ebx
push 0x10085d0
mov dword [esp + 0x28], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10031ef
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x10031ef
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x10031ef
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10031ef
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10031ef
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [0x100866c]
call ebp
push ebx
push 0x1008600
mov dword [esp + 0x20], eax
call edi
pop ecx
test al, al
pop ecx
je 0x100326c
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x100326c
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x100326c
mov ebp, 0x1008630
push esi
push ebp
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100326c
push ebx
push ebp
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100326c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x10032a6
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1003318
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1003318
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x1003318
mov ebp, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
push esi
push 0x1008610
call ebp
pop ecx
test al, al
pop ecx
je 0x1003318
push ebx
push 0x1008610
call ebp
pop ecx
test al, al
pop ecx
je 0x1003318
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [0x100893c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [esp + 0x14]
call ebp
push dword [0x1008550]
mov dword [0x1008574], eax
push dword [esp + 0x14]
call ebp
push dword [0x1008558]
mov dword [0x1008564], eax
push dword [esp + 0x14]
call ebp
push ebx
push 0x1008650
mov dword [0x1008938], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10033c5
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x10033c5
push esi
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x10033c5
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10033c5
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10033c5
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push 0x1008974
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [0x1008518]
mov dword [0x1008590], eax
push dword [esp + 0x14]
call ebp
push dword [0x10086f8]
mov dword [0x1008714], eax
push dword [esp + 0x20]
call ebp
push dword [0x10088fc]
mov dword [0x100856c], eax
push dword [esp + 0x14]
call ebp
push ebx
push 0x1008630
mov dword [0x1008548], eax
call edi
pop ecx
test al, al
pop ecx
je 0x100349e
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x100349e
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x100349e
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100349e
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100349e
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1003512
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1003512
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1003512
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003512
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003512
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push 0x1008974
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008590], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x100356c
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push dword [0x1008900]
push dword [esp + 0x14]
call ebp
push dword [0x10086c0]
mov dword [0x1008700], eax
push dword [esp + 0x14]
call ebp
push dword [0x1008520]
mov dword [0x1008708], eax
push dword [esp + 0x14]
call ebp
push dword [0x10086e4]
mov dword [0x1008918], eax
push dword [esp + 0x14]
call ebp
push dword [0x10086e0]
mov dword [0x1008920], eax
push dword [esp + 0x14]
call ebp
push dword [0x1008528]
mov dword [0x1008538], eax
push dword [esp + 0x14]
call ebp
push dword [0x100870c]
mov dword [0x1008670], eax
push dword [esp + 0x14]
call ebp
mov dword [0x10086c8], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push 0x1008974
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [0x100892c]
mov dword [0x1008598], eax
push dword [esp + 0x14]
call ebp
push dword [0x10086dc]
mov dword [0x10086fc], eax
push dword [esp + 0x14]
call ebp
push dword [0x100851c]
mov dword [0x10086d4], eax
push dword [esp + 0x24]
call ebp
mov dword [0x1008904], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x1003670
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x10036e4
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x10036e4
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x10036e4
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10036e4
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10036e4
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1003758
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1003758
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003758
push esi
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003758
push ebx
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003758
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x1003792
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push dword [0x1008588]
push dword [esp + 0x14]
call ebp
push dword [0x10088f8]
mov dword [0x10085b4], eax
push dword [esp + 0x14]
call ebp
mov dword [0x100871c], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push 0x1008974
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x100380e
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1003882
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1003882
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x1003882
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003882
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003882
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push dword [0x1008668]
push dword [esp + 0x14]
call ebp
push dword [0x10085c0]
mov dword [0x10085b0], eax
push dword [esp + 0x14]
call ebp
push dword [0x1008930]
mov dword [0x1008524], eax
push dword [esp + 0x1c]
call ebp
push dword [0x100854c]
mov dword [0x10085b8], eax
push dword [esp + 0x14]
call ebp
push dword [0x10086cc]
mov dword [0x10086c4], eax
push dword [esp + 0x14]
call ebp
mov dword [0x1008944], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
je 0x100390e
push dword [0x1008914]
push 0x10084d4
push 0x10087f8
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ax, word [0x100853c]
add esp, 0xc
cmp ax, word [0x10085c4]
jne 0x1003927
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov dword [esp + 0x14], 1
mov ebp, 0x1008974
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x10039a8
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x10039a8
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x10039a8
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10039a8
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10039a8
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1003a1c
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1003a1c
push esi
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x1003a1c
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003a1c
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003a1c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x10085f0
mov dword [0x1008590], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003abe
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1003abe
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003abe
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003abe
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003abe
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x10085f0
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003b72
push ebx
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x1003b72
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003b72
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003b72
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003b72
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
movzx eax, word [esp + 0x14]
push 0xa
push eax
push 0
call dword [0x1008564]
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008630
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003c28
push ebx
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1003c28
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003c28
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003c28
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003c28
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1003c9c
push ebx
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1003c9c
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003c9c
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003c9c
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003c9c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x1003cc4
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
cmp dword [esp + 0x1c], 0
jne 0x1003ce2
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x2710
jl 0x1003934
jmp 0x10047bc
push dword [esp + 0x1c]
push 0
call dword [0x1008574]
push eax
call dword [0x1008938]
mov dword [esp + 0x10], eax
xor eax, eax
push eax
push eax
push 0xc9
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008600
mov dword [0x100858c], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003d9b
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1003d9b
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003d9b
push esi
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003d9b
push ebx
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003d9b
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push 0x1008600
mov dword [0x1008568], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003e21
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1003e21
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003e21
push esi
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003e21
push ebx
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003e21
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push 0x10085f0
mov dword [0x1008568], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003ea7
push ebx
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x1003ea7
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003ea7
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003ea7
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003ea7
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp dword [esp + 0x10], 0
je 0x10047bc
mov eax, dword [0x10080b0]
mov ecx, 0x294
push ecx
push eax
push ecx
mov ecx, dword [esp + 0x1c]
add eax, ecx
push ecx
push eax
call fcn.0100157e
add esp, 0x10
push eax
lea eax, [esp + 0x140]
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
cmp word [esp + 0x148], 1
je 0x1003f58
cmp word [esp + 0x13a], 0
je 0x1003f09
call fcn.01002157
test al, al
jne 0x1003f49
call fcn.01001e37
test al, al
jne 0x1003f49
cmp word [esp + 0x13c], 0
je 0x1003f24
push dword [0x1008718]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x1003f49
cmp word [esp + 0x13e], 0
je 0x10041c5
push dword [0x1008704]
push 0
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
je 0x10041c5
cmp word [esp + 0x148], 2
jne 0x10047bc
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x10085f0
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1003ffa
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1003ffa
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1003ffa
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003ffa
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1003ffa
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x1004062
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
movzx eax, word [esp + 0x14a]
dec eax
je 0x100409b
dec eax
je 0x1004091
dec eax
je 0x1004087
dec eax
je 0x100407d
and dword [esp + 0x14], 0
jmp 0x10040a3
mov dword [esp + 0x14], 0x40
jmp 0x10040a3
mov dword [esp + 0x14], 0x30
jmp 0x10040a3
mov dword [esp + 0x14], 0x20
jmp 0x10040a3
mov dword [esp + 0x14], 0x10
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1004117
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1004117
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1004117
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004117
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004117
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x100413f
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [esp + 0x14]
mov dword [0x1008590], eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x1d4]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x10041b1
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
cmp word [esp + 0x148], 2
jne 0x1003eec
jmp 0x10047bc
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008590], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x100421b
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov ax, word [esp + 0x138]
cmp ax, 1
jne 0x10047c9
mov eax, dword [0x10080b0]
mov edx, dword [esp + 0x10]
push eax
push dword [esp + 0x148]
lea ecx, [eax + edx + 0x294]
mov dword [esp + 0x28], ecx
push edx
push ecx
call fcn.0100157e
push 0x104
lea eax, [esp + 0x48]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x1c
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x100429b
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
xor eax, eax
push eax
push eax
push 0xcb
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x44
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x10085f0
mov dword [0x1008594], eax
call edi
pop ecx
test al, al
pop ecx
je 0x100433d
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x100433d
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x100433d
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100433d
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100433d
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008630
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10043f1
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x10043f1
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x10043f1
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10043f1
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10043f1
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp word [esp + 0x140], 0
je 0x1004492
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1004437
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x24], 0x104
push dword [0x1008770]
push dword [0x1008674]
push 2
push 0
call dword [0x1008904]
jmp 0x1004546
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1004506
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1004506
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1004506
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004506
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004506
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
lea eax, [esp + 0x34]
push 0x104
push eax
push 0
call dword [0x10086d4]
push 0x104
call dword [sym.imp.MSVCRT.dll_malloc]
push dword [0x100852c]
mov dword [esp + 0x20], eax
call sub.MSVCRT.dll_strlen
pop ecx
test eax, eax
pop ecx
jbe 0x1004585
push dword [0x100852c]
lea eax, [esp + 0x38]
push eax
push str.__s___s
push dword [esp + 0x24]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x100459c
lea eax, [esp + 0x34]
push eax
push str.__s_
push dword [esp + 0x20]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
xor eax, eax
push eax
push eax
push 0xcb
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x44
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [esp + 0x20]
mov dword [0x1008594], eax
push dword [esp + 0x1c]
call fcn.010022d2
pop ecx
pop ecx
cmp word [esp + 0x142], 2
je 0x10045f3
cmp word [esp + 0x142], 3
jne 0x10047bc
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008590], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x1004649
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x10046bd
push ebx
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x10046bd
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x10046bd
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10046bd
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10046bd
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
lea eax, [esp + 0x34]
push 0x104
push eax
push 0
call dword [0x10086d4]
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x100476c
push ebx
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x100476c
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x100476c
mov edi, dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
mov ebp, 0x1008650
push esi
push ebp
call edi
pop ecx
test al, al
pop ecx
je 0x100476c
push ebx
push ebp
call edi
pop ecx
test al, al
pop ecx
je 0x100476c
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x3d4]
push dword [0x10086f4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x34]
push 0x104
push eax
push dword [0x1008908]
call dword [0x1008944]
xor eax, eax
lea ecx, [esp + 0x3cc]
push eax
push eax
push ecx
lea ecx, [esp + 0x40]
push ecx
push eax
push eax
call dword [0x10085b8]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c4
ret
cmp ax, 2
je 0x10047d5
cmp ax, 3
jne 0x10047bc
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x10080b0]
push ebx
push 0x10085f0
lea eax, [eax + ecx + 0x294]
mov dword [esp + 0x28], eax
call edi
pop ecx
test al, al
pop ecx
je 0x100486b
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x100486b
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x100486b
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100486b
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x100486b
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008598], eax
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x10048d3
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push ebx
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1004947
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1004947
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1004947
push esi
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004947
push ebx
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004947
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
push ebx
push 0x10085f0
mov dword [0x1008568], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10049cd
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x10049cd
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x10049cd
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10049cd
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10049cd
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push dword [0x10080b0]
mov dword [0x1008598], eax
push dword [esp + 0x148]
push dword [esp + 0x18]
push dword [esp + 0x2c]
call fcn.0100157e
mov eax, dword [esp + 0x154]
mov ecx, dword [esp + 0x30]
push dword [0x1008934]
add ecx, eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.MSVCRT.dll_getenv]
push ebx
push 0x10085f0
mov dword [esp + 0x40], eax
call edi
add esp, 0x1c
test al, al
je 0x1004abd
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1004abd
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1004abd
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004abd
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004abd
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xcb
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x44
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008594], eax
xor eax, eax
push eax
push eax
push 0xcb
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x44
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x1008594], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp dword [esp + 0x144], 0
mov dword [0x1008598], eax
jbe 0x100568c
xor eax, eax
mov ecx, dword [esp + 0x20]
push 0x108
add ecx, eax
lea eax, [esp + 0x3d0]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
lea eax, [esp + 0x3e0]
push eax
push dword [esp + 0x34]
push str._s_s
push ebp
call dword [sym.imp.MSVCRT.dll_sprintf]
push ebx
push 0x10085f0
call edi
add esp, 0x24
test al, al
je 0x1004bfe
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1004bfe
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1004bfe
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004bfe
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004bfe
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x1004c26
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x1008578
mov dword [0x1008590], eax
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1004c8b
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
push ebp
call dword [0x10085b4]
test eax, eax
mov dword [esp + 0x14], eax
je 0x1005666
cmp eax, 0xffffffff
je 0x1005666
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1004d2d
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1004d2d
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1004d2d
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004d2d
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004d2d
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1004d64
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
mov eax, dword [esp + 0x3cc]
mov ecx, 0x1000
sub eax, dword [esp + 0x18]
cmp eax, ecx
jle 0x1004d83
cmp word [esp + 0x138], 3
jne 0x1004d85
mov ecx, eax
push dword [0x10080b0]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push ecx
add eax, edx
push dword [esp + 0x18]
mov dword [esp + 0x34], eax
push eax
call fcn.0100157e
add esp, 0x10
xor eax, eax
push eax
push eax
push eax
push dword [esp + 0x20]
call dword [0x100871c]
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1004e2a
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1004e2a
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x1004e2a
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004e2a
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004e2a
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x1004e52
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [0x1008950]
cmp eax, dword [0x1008694]
jg 0x1004e81
mov eax, dword [0x1008954]
cmp eax, 0x14
jl 0x1004e81
cmp eax, 0x23
jg 0x1004e81
cmp dword [0x1008964], 6
jne 0x1004e81
mov dword [0x1008530], 1
mov ax, word [0x10085c4]
cmp word [0x100853c], ax
jbe 0x1004ea9
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x2c]
push 0
push eax
mov eax, dword [esp + 0x3d4]
sub eax, dword [esp + 0x20]
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
call dword [0x10085b0]
push dword [esp + 0x14]
call dword [0x1008524]
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1004f48
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1004f48
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x1004f48
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004f48
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1004f48
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
cmp word [esp + 0x142], 1
je 0x1004f5e
cmp word [esp + 0x142], 3
jne 0x1004f91
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jne 0x1004f86
push dword [0x1008710]
push 0x10084d4
push 0x1008778
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 4
push 0
push ebp
call dword [0x10086c4]
cmp dword [esp + 0x3d0], 0
jle 0x100542b
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1005013
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1005013
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1005013
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005013
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005013
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1005087
push ebx
push 0x1008640
call edi
pop ecx
test al, al
pop ecx
je 0x1005087
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1005087
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005087
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005087
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x10050fb
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x10050fb
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x10050fb
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10050fb
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10050fb
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0x108
mov dword [0x1008598], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
push ebx
push 0x10085f0
mov dword [esp + 0x24], eax
call edi
add esp, 0xc
test al, al
je 0x10051be
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x10051be
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x10051be
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10051be
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10051be
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1005232
push ebx
push 0x1008630
call edi
pop ecx
test al, al
pop ecx
je 0x1005232
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1005232
push esi
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005232
push ebx
push 0x1008640
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005232
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008640
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd0
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008630
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10052e6
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x10052e6
push esi
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x10052e6
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10052e6
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10052e6
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ax, word [0x100853c]
cmp ax, word [0x10085c4]
jbe 0x100530e
push dword [0x1008720]
push 0x10084d4
push 0x1008878
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x3cc]
push 0x108
push eax
push dword [esp + 0x20]
call sub.MSVCRT.dll_memcpy
mov eax, dword [esp + 0x24]
push 0x100
add eax, 8
push ebp
push eax
call sub.MSVCRT.dll_memcpy
mov ax, word [0x100853c]
add esp, 0x18
inc dword [0x1008660]
cmp ax, word [0x10085c4]
je 0x1005368
push dword [0x1008914]
push 0x10084d4
push 0x10087f8
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x100539f
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x10053d6
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
xor eax, eax
push eax
push eax
push dword [esp + 0x20]
push 0x100303c
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x1008578
push dword [0x100876c]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x1005666
mov eax, dword [0x1008580]
sub eax, dword [0x1008578]
mov word [0x10085c4], ax
mov eax, dword [0x1008584]
sub eax, dword [0x100857c]
mov word [0x100853c], ax
jmp 0x1005666
xor eax, eax
push eax
push eax
push 0xcc
push dword [0x1008570]
push 0x1a
push 0x1c
push 0x22
push 4
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008630
mov dword [0x1008598], eax
call edi
pop ecx
test al, al
pop ecx
je 0x10054cd
push ebx
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x10054cd
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x10054cd
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10054cd
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10054cd
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push ebx
push 0x10085d0
call edi
pop ecx
test al, al
pop ecx
je 0x1005541
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x1005541
push esi
push 0x10085e0
call edi
pop ecx
test al, al
pop ecx
je 0x1005541
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005541
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005541
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push 1
push eax
push eax
push ebp
push eax
push eax
call dword [0x10085b8]
push ebx
push 0x10085f0
call edi
pop ecx
test al, al
pop ecx
je 0x10055c4
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x10055c4
push esi
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x10055c4
push esi
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10055c4
push ebx
push 0x1008610
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x10055c4
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008610
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcd
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
push eax
push eax
push 0xca
push dword [0x1008570]
push 0x1a
push 0x1c
push 4
push 0x24
push 0x50000000
push ebp
push str.BUTTON
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push 0x1008630
mov dword [0x1008590], eax
call edi
pop ecx
test al, al
pop ecx
je 0x1005666
push ebx
push 0x1008620
call edi
pop ecx
test al, al
pop ecx
je 0x1005666
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1005666
push esi
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005666
push ebx
push 0x1008650
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005666
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008650
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xd1
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [esp + 0x3cc]
inc dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x108
cmp dword [esp + 0x144], eax
ja 0x1004b57
push ebx
push 0x1008600
call edi
pop ecx
test al, al
pop ecx
je 0x1005700
push ebx
push 0x1008650
call edi
pop ecx
test al, al
pop ecx
je 0x1005700
push esi
push 0x1008610
call edi
pop ecx
test al, al
pop ecx
je 0x1005700
push esi
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005700
push ebx
push 0x1008630
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__]
pop ecx
test al, al
pop ecx
je 0x1005700
push esi
call sub.MSVCRT.dll_strlen
pop ecx
push eax
push esi
mov ecx, 0x1008630
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push esi
push 0xcf
push dword [0x1008570]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push str.Icon.ico
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x1008568], eax
cmp dword [0x1008660], 0
je 0x10045d9
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1005712