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

Disassembly:
mov ecx, dword [ecx]
jmp 0x1003ce20
push 0xffffffffffffffff
push 0x1004494d
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x1005e3c8]
xor eax, esp
mov dword [esp + 0x9c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1005e3c8]
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.1003f990
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 0x1003d1ee
cmp edi, ebp
je 0x1003d1ee
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003ced7
sub eax, edx
jne 0x1003cf31
push 0x7531
call fcn.1003dc20
push 0x7531
call fcn.10040690
push eax
push 0x1004e10c
push 0x320
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e230
push 0x7531
call fcn.10040690
push eax
push 0x7531
push str.__d___s
push 0x321
jmp 0x1003d236
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.1003ea90
mov ebp, eax
test ebp, ebp
je 0x1003d1a4
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 [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__::operator_char_const__]
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 0x1003d046
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 0x1003cfb1
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 [0x1004613c]
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.10040550
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 0x1003cf83
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x1003d0a2
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 0x1003d088
cmp dword [esp + 0x74], 0x10
mov ecx, dword [esp + 0x60]
jae 0x1003d078
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 0x1003d248
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
call fcn.10040f00
mov eax, dword [esp + 0x6c]
add esp, 0xc
cmp dword [esp + 0x74], 0x10
jae 0x1003d0c4
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 0x1003d167
push 0x7533
call fcn.1003dc20
push 0x7533
call fcn.10040690
push eax
push 0x1004e10c
push 0x351
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e230
push 0x7533
call fcn.10040690
push eax
push 0x7533
push str.__d___s
push 0x352
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e320
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 0x1003d248
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1003d18a
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.10040fc0
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 0x1003d248
push 0x7539
call fcn.1003dc20
push 0x7539
call fcn.10040690
push eax
push 0x1004e10c
push 0x362
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e230
push 0x7539
call fcn.10040690
push eax
push 0x7539
push str.__d___s
push 0x363
jmp 0x1003d236
push 0x7531
call fcn.1003dc20
push 0x7531
call fcn.10040690
push eax
push 0x1004e10c
push 0x317
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e230
push 0x7531
call fcn.10040690
push eax
push 0x7531
push str.__d___s
push 0x318
push str.XKCore::unpack
push str..._srcXKCore.cpp
call fcn.1003e320
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 0x1003d270
lea ecx, [esp + 0x34]
push ecx
call sub.XecureAcIO.dll_XFA_BIN_Reset
add esp, 4
cmp dword [esp + 0x20], 0
je 0x1003d284
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 0x1003d296
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.10041218
add esp, 0xac
ret 0xc