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

Disassembly:
mov ecx, dword [ecx]
jmp 0x10029d80
push 0xffffffffffffffff
push 0x1002fafd
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1004a0b4]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1004a0b4]
xor eax, esp
push eax
lea eax, [esp + 0xb4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xcc]
mov esi, dword [esp + 0xc4]
mov edi, dword [esp + 0xc8]
xor ebp, ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], ebp
call fcn.1002bf00
lea ecx, [esp + 0x78]
mov ebx, eax
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea ecx, [esp + 0x5c]
mov dword [esp + 0xbc], ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
xor eax, eax
cmp esi, ebp
mov byte [esp + 0xbc], 1
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
je 0x1002a14e
cmp edi, ebp
je 0x1002a14e
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10029e37
sub eax, edx
jne 0x10029e91
push 0x7531
call fcn.1002a600
push 0x7531
call fcn.1002c7d0
push eax
push 0x10038048
push 0x320
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ac10
push 0x7531
call fcn.1002c7d0
push eax
push 0x7531
push str.__d___s
push 0x321
jmp 0x1002a196
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x4c], esp
push esi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, ebx
call fcn.1002b3a0
mov ebp, eax
test ebp, ebp
je 0x1002a104
lea ecx, [esp + 0x94]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov bl, 2
push edi
lea ecx, [esp + 0x7c]
mov byte [esp + 0xc0], bl
call dword [0x100321b0]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
xor esi, esi
cmp dword [ecx], esi
je 0x10029fa6
push 1
push esi
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x84]
mov byte [esp + 0x20], 0x2c
call dword [sym.imp.MSVCP80.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int__unsigned_int_const]
mov edi, eax
mov eax, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [eax]
mov eax, edi
jne 0x10029f11
mov eax, dword [esp + 0x8c]
sub eax, esi
push eax
push esi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x84]
call dword [sym.imp.MSVCP80.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_]
push eax
lea ecx, [esp + 0x98]
mov byte [esp + 0xc0], 3
call dword [0x100321c0]
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
sub esp, 0x1c
lea edx, [esp + 0xb0]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_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__]
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call fcn.1002c690
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0xc0], 4
call dword [sym.imp.MSVCP80.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__::append_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x40]
mov byte [esp + 0xbc], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [sym.imp.MSVCP80.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp edi, dword [ecx]
lea esi, [edi + 1]
jne 0x10029ee3
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1002a002
mov edx, dword [esp + 0x70]
add edx, 1
push edx
push 1
call dword [sym.imp.MSVCR80.dll_calloc]
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
je 0x10029fe8
cmp dword [esp + 0x74], 0x10
mov ecx, dword [esp + 0x60]
jae 0x10029fd8
lea ecx, [esp + 0x60]
mov edx, dword [esp + 0x70]
push edx
push ecx
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002a1a8
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.1002ce20
mov eax, dword [esp + 0x6c]
add esp, 0xc
cmp dword [esp + 0x74], 0x10
jae 0x1002a024
lea eax, [esp + 0x60]
mov ecx, dword [esp + 0x70]
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Set
push 0
push 1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x38]
push edx
call sub.XecureAcCSP.dll_XFA_CSP_PublicEncrypt
add esp, 0x20
test eax, eax
je 0x1002a0c7
push 0x7533
call fcn.1002a600
push 0x7533
call fcn.1002c7d0
push eax
push 0x10038048
push 0x351
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ac10
push 0x7533
call fcn.1002c7d0
push eax
push 0x7533
push str.__d___s
push 0x352
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ad00
add esp, 0x38
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002a1a8
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1002a0ea
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.1002cee0
mov eax, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
jmp 0x1002a1a8
push 0x7539
call fcn.1002a600
push 0x7539
call fcn.1002c7d0
push eax
push 0x10038048
push 0x362
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ac10
push 0x7539
call fcn.1002c7d0
push eax
push 0x7539
push str.__d___s
push 0x363
jmp 0x1002a196
push 0x7531
call fcn.1002a600
push 0x7531
call fcn.1002c7d0
push eax
push 0x10038048
push 0x317
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ac10
push 0x7531
call fcn.1002c7d0
push eax
push 0x7531
push str.__d___s
push 0x318
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1002ad00
add esp, 0x38
lea ecx, [esp + 0x78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
lea ecx, [esp + 0x5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::clear_void_]
cmp dword [esp + 0x38], 0
je 0x1002a1d0
lea ecx, [esp + 0x34]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 4
cmp dword [esp + 0x20], 0
je 0x1002a1e4
lea edx, [esp + 0x1c]
push edx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1002a1f6
push eax
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
lea ecx, [esp + 0x5c]
mov byte [esp + 0xbc], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x78]
mov dword [esp + 0xbc], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.1002d777
add esp, 0xac
ret 0xc