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

Disassembly:
sub esp, 0x208
mov cl, byte [esp + 3]
mov al, byte [esp + 3]
push ebx
push ebp
push esi
xor esi, esi
push edi
mov byte [esp + 0x28], cl
push esi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov edi, 0x10047504
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x10047504
lea ecx, [esp + 0x30]
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_]
lea ecx, [esp + 0x18]
call fcn.10016610
mov ebp, dword [esp + 0x220]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x28]
push esi
mov ebx, dword [ebp + 8]
push eax
mov ecx, ebp
mov dword [esp + 0x1c], edx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edi, eax
cmp edi, dword [ecx]
je 0x1001a273
cmp esi, ebx
jae 0x1001a2b9
mov edx, edi
lea eax, [esp + 0x38]
sub edx, esi
mov ecx, ebp
push edx
push esi
push eax
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__::substr_unsigned_int__unsigned_int_]
lea ecx, [esp + 0x38]
push 0x10046828
push ecx
call fcn.1000b470
mov eax, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 0x38]
lea ecx, [esp + 0x18]
push edx
push eax
call fcn.10016690
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x28]
lea esi, [edi + ecx]
mov ecx, ebp
push esi
push edx
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int_const]
push 1
lea ecx, [esp + 0x3c]
mov edi, eax
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [eax]
jne 0x1001a207
cmp esi, ebx
jae 0x1001a2b9
sub ebx, esi
lea ecx, [esp + 0x38]
push ebx
push esi
push ecx
mov ecx, ebp
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__::substr_unsigned_int__unsigned_int_]
lea edx, [esp + 0x38]
push 0x10046828
push edx
call fcn.1000b470
mov ecx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x38]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.10016690
push 1
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp + 4]
mov edx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
test eax, eax
je 0x1001a2d4
mov edx, eax
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1001a2e0
xor eax, eax
jmp 0x1001a2e9
mov eax, dword [esp + 0x20]
sub eax, ecx
sar eax, 4
push edx
mov edx, dword [0x1004b3e0]
push eax
push str.OnCmdUpdateTicket__enter:_param__u__s
push edx
call fcn.1002a620
mov esi, dword [esp + 0x2c]
add esp, 0x10
test esi, esi
je 0x1001a315
mov eax, dword [esp + 0x20]
sub eax, esi
sar eax, 4
cmp eax, 5
jae 0x1001a359
mov ebp, dword [ebp + 4]
test ebp, ebp
jne 0x1001a322
mov ebp, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, dword [esp + 0x21c]
push ebp
push ecx
lea edx, [esp + 0x40]
push 0x10047530
push edx
call fcn.100022b0
mov ecx, dword [0x1004b468]
add esp, 0x10
push eax
push 0xcf
call fcn.10008010
push 1
lea ecx, [esp + 0x3c]
jmp 0x1001a5b9
mov al, byte [esi]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
push edx
push 0
push esi
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea eax, [esp + 0x14]
test eax, eax
je 0x1001a3ce
mov ecx, dword [esp + 0x1c]
push 1
add ecx, 0x10
push 1
push ecx
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___int_]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x6c]
push edx
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______thiscall_std::basic_istream_char__struct_std::char_traits_char__::operator___int__]
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
test byte [esp + ecx + 0x70], 6
je 0x1001a3c4
mov dword [esp + 0x14], 0
lea ecx, [esp + 0x6c]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov edx, dword [esp + 0x1c]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x4d]
mov byte [esp + 0x4c], 0
mov ebx, dword [edx + 0x24]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
test ebx, ebx
stosb byte es:[edi], al
jne 0x1001a3f4
mov ebx, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x4c]
push 0x41
rep stosd dword es:[edi], eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
mov ecx, 0x10
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
push 0x40
push ebx
push esi
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x10
mov byte [esi + 0x40], 0
xor ecx, ecx
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x1001a439
cmp al, 0x5a
jg 0x1001a439
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, 0x40
jl 0x1001a429
xor edi, edi
mov ebp, esi
mov al, byte [ebp + 1]
push eax
call fcn.10021ad0
mov cl, byte [ebp]
mov ebx, eax
push ecx
call fcn.10021ad0
shl al, 4
add bl, al
add esp, 8
mov byte [esp + edi + 0x4c], bl
inc edi
add ebp, 2
cmp edi, 0x20
jl 0x1001a443
push esi
call fcn.1003ed30
mov edx, dword [esp + 0x20]
add esp, 4
mov eax, dword [edx + 0x34]
test eax, eax
jne 0x1001a485
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [esp + 0x3c]
push 0x14
push eax
call fcn.10021a00
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [esp + 0x28]
add esp, 0xc
add eax, 0x40
mov edx, dword [ecx]
mov ecx, dword [0x1004b470]
push edx
push 0
push eax
add ecx, 0x68
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov ecx, dword [esp + 0x1c]
add ecx, 0x20
mov eax, dword [edx]
mov edx, dword [0x1004b470]
push eax
push 0
push ecx
lea ecx, [edx + 0x34]
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [0x1004b470]
mov ecx, 8
lea esi, [esp + 0x4c]
lea edi, [eax + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [esp + 0x1c]
add eax, 0x30
mov edx, dword [ecx]
mov ecx, dword [0x1004b470]
push edx
push 0
push eax
add ecx, 0x58
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_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edx, dword [0x1004b470]
mov ecx, 5
lea esi, [esp + 0x38]
xor eax, eax
lea edi, [edx + 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x48
lea edi, [esp + 0xf5]
mov byte [esp + 0xf4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x1001a54a
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0x10047558
lea eax, [esp + 0xfc]
push 0x80
push eax
call fcn.10028430
mov ecx, dword [esp + 0x24]
lea esi, [esp + 0x5c]
mov dword [esp + 0x184], ecx
mov ecx, 8
lea edi, [esp + 0x188]
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0x38]
lea edi, [esp + 0x198]
lea edx, [esp + 0xf4]
push 0xe
push edx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x1004b468]
push 0x124
push 0x10134
call fcn.100085c0
push 1
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [0x1004b3e0]
push str.OnCmdUpdateTicket__leave
push eax
call fcn.1002a620
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
add esp, 8
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.10016820
mov eax, dword [esp + 0x1c]
push eax
call fcn.1003ed30
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret