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

Disassembly:
sub esp, 0x88
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x2c]
mov edx, dword [ebx + 0x28]
lea ecx, [ebx + 0x24]
push edi
push eax
push edx
mov dword [esp + 0x6c], ebx
call fcn.1002e690
mov al, byte [esp + 0x12]
xor ebp, ebp
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x40], 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 edx, dword [esp + 0x9c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x44]
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_]
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, ebp
mov dword [esp + 0x14], ebp
jbe 0x1002e574
jmp 0x1002e1b0
mov ebp, dword [esp + 0x60]
mov ebx, dword [esp + 0x64]
push 1
lea ecx, [esp + 0x16]
push edi
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x1e], 0x3a
call dword [sym.imp.MSVCP60.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]
inc ebp
push 1
lea edx, [esp + 0x16]
push ebp
push edx
lea ecx, [esp + 0x48]
mov esi, eax
mov byte [esp + 0x1e], 0x7b
call dword [sym.imp.MSVCP60.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 ebp, eax
mov eax, dword [esp + 0x14]
inc eax
push 1
lea ecx, [esp + 0x16]
push eax
push ecx
lea ecx, [esp + 0x48]
mov dword [esp + 0x6c], ebp
mov byte [esp + 0x1e], 0x7d
call dword [sym.imp.MSVCP60.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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov dword [esp + 0x14], eax
cmp esi, dword [edx]
je 0x1002e574
push 0x10054560
mov ecx, ebx
call fcn.1002de60
mov ebx, eax
mov ecx, esi
lea eax, [esp + 0x1b]
sub ecx, edi
push eax
push ecx
lea edx, [esp + 0x44]
push edi
push edx
lea ecx, [esp + 0x88]
mov dword [esp + 0x6c], ebx
call dword [sym.imp.MSVCP60.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___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea edx, [esp + 0x78]
mov ecx, dword [eax]
push ecx
push 0
push edx
mov ecx, ebx
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_]
push 1
lea ecx, [esp + 0x7c]
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 0x10049090
push ebx
call fcn.1002d870
mov ecx, ebp
add esp, 8
sub ecx, esi
lea eax, [esp + 0x1a]
dec ecx
push eax
inc esi
push ecx
lea edx, [esp + 0x44]
push esi
push edx
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.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___unsigned_int__unsigned_int__class_std::allocator_char__const__]
lea eax, [esp + 0x2c]
push 0x10049098
push eax
call fcn.1002d870
mov edi, str.PACKAGE
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x38]
push str.PACKAGE
push ecx
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
test eax, eax
jne 0x1002e2d5
mov dword [ebx + 0x10], 1
jmp 0x1002e341
mov edi, str.COMPONENT
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.COMPONENT
push edx
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
test eax, eax
jne 0x1002e307
mov dword [ebx + 0x10], 2
jmp 0x1002e341
mov edi, str.FILE
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
push ecx
push str.FILE
push eax
push 0
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSVCP60.dll_public:_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::compare_unsigned_int__unsigned_int__char_const___unsigned_int_const]
test eax, eax
jne 0x1002e33a
mov dword [ebx + 0x10], 3
jmp 0x1002e341
mov dword [ebx + 0x10], 0
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x13]
sub edx, ebp
push ecx
sub edx, 2
inc ebp
push edx
lea eax, [esp + 0x44]
push ebp
push eax
lea ecx, [esp + 0x98]
call dword [sym.imp.MSVCP60.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___unsigned_int__unsigned_int__class_std::allocator_char__const__]
mov edi, 0x100490bc
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x100490bc
lea ecx, [esp + 0x90]
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__::append_char_const___unsigned_int_]
mov esi, eax
xor ebx, ebx
push ebx
mov cl, byte [esi]
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x20]
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 edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
lea ecx, [esp + 0x1c]
mov eax, dword [edx]
push eax
push ebx
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_]
push 1
lea ecx, [esp + 0x8c]
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 [esp + 0x24]
xor edi, edi
cmp eax, ebx
jbe 0x1002e501
push 1
lea ecx, [esp + 0x16]
push edi
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1e], 0x3d
call dword [sym.imp.MSVCP60.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 esi, eax
push 1
lea edx, [esp + 0x16]
lea ecx, [esp + 0x20]
lea ebp, [esi + 1]
mov byte [esp + 0x16], 0xa
push ebp
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_char_const___unsigned_int__unsigned_int_const]
mov ebx, eax
mov eax, 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 [eax]
cmp esi, eax
je 0x1002e4ff
cmp ebx, eax
je 0x1002e4ff
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x50], cl
lea ecx, [esp + 0x50]
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 edx, esi
lea eax, [esp + 0x1c]
sub edx, edi
lea ecx, [esp + 0x4c]
push edx
push edi
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x6c], cl
lea ecx, [esp + 0x6c]
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 edx, ebx
lea eax, [esp + 0x1c]
sub edx, esi
lea ecx, [esp + 0x68]
dec edx
push edx
push ebp
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__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
lea ecx, [esp + 0x4c]
push 0x100490c0
push ecx
call fcn.1002d870
lea edx, [esp + 0x70]
push 0x100490c8
push edx
call fcn.1002d870
mov eax, dword [esp + 0x7c]
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]
add esp, 0x10
test eax, eax
jne 0x1002e49d
mov eax, edx
mov ecx, dword [esp + 0x50]
test ecx, ecx
jne 0x1002e4a7
mov ecx, edx
push eax
push ecx
mov ecx, dword [esp + 0x64]
call fcn.1002daa0
push 1
lea ecx, [esp + 0x6c]
lea edi, [ebx + 1]
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 [esp + 0x50]
xor esi, esi
cmp ecx, esi
je 0x1002e4e7
mov al, byte [ecx - 1]
test al, al
je 0x1002e4dd
cmp al, 0xff
je 0x1002e4dd
dec al
mov byte [ecx - 1], al
jmp 0x1002e4e7
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x50], esi
cmp edi, eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
jb 0x1002e3cd
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
lea edi, [eax + 1]
je 0x1002e52c
mov al, byte [ecx - 1]
test al, al
je 0x1002e522
cmp al, 0xff
je 0x1002e522
dec al
mov byte [ecx - 1], al
jmp 0x1002e52c
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
cmp ecx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
je 0x1002e55c
mov al, byte [ecx - 1]
test al, al
je 0x1002e552
cmp al, 0xff
je 0x1002e552
dec al
mov byte [ecx - 1], al
jmp 0x1002e55c
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], ebx
cmp edi, eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jb 0x1002e1a8
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
test ecx, ecx
pop ebx
je 0x1002e5a3
mov al, byte [ecx - 1]
test al, al
je 0x1002e599
cmp al, 0xff
je 0x1002e599
dec al
mov byte [ecx - 1], al
add esp, 0x88
ret 8
dec ecx
push ecx
call fcn.1003ed30
add esp, 4
add esp, 0x88
ret 8