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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x1003fc88]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x48], ecx
movzx ecx, word [eax]
mov dword [esp + 8], ebx
push esi
mov esi, eax
push edi
test cx, cx
je 0x100333ea
mov edx, ecx
lea esp, [esp]
add eax, 2
cmp dx, 0x22
jne 0x100333d8
movzx ecx, word [eax]
test cx, cx
je 0x100333e0
mov edx, ecx
add eax, 2
cmp dx, 0x22
je 0x100333e0
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x100333c3
jmp 0x100333e0
cmp dx, 0x2e
jne 0x100333e0
mov esi, eax
movzx ecx, word [eax]
mov edx, ecx
test cx, cx
jne 0x100333b0
push 0x10009094
push esi
call dword [sym.imp.ntdll.dll_wcsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003341b
mov eax, 0x80004005
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebx + 2]
mov edi, edi
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10033420
sub ebx, ecx
sar ebx, 1
add esi, 0xc
mov edi, esi
mov dword [esp + 0x80], esi
lea ecx, [edi + 2]
mov edi, edi
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x10033440
sub edi, ecx
sar edi, 1
cmp word [esi + edi*2 - 2], 0x22
jne 0x10033458
dec edi
mov ecx, dword [esp + 0x50]
lea eax, [ebx + 0x10]
add eax, edi
mov dword [esp + 0x78], 0x1e
mov edx, 2
mov dword [ecx], 0
xor ecx, ecx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
push 0x1400000
push dword [0x100407b4]
call dword [sym.imp.MSDART.DLL_MpHeapAlloc]
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x100334a8
mov esi, 0x8007000e
jmp 0x10033a18
push dword [esp + 0x10]
lea eax, [ebx + 0x10]
push esi
push 0x100090a4
add eax, edi
push eax
push ecx
call fcn.1001c600
mov ecx, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x38]
mov ecx, esi
call dword [0x10041308]
call esi
mov esi, eax
test esi, esi
js 0x10033a01
mov eax, dword [esp + 0xc]
push 0
push 0
push dword [esp + 0x5c]
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0x3c]
mov ecx, esi
call dword [0x10041308]
call esi
mov esi, eax
test esi, esi
js 0x10033a01
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x78]
mov ecx, dword [esp + 0x4c]
push edx
lea edx, [esp + 0x88]
add ecx, 0x4c
mov esi, dword [eax]
push edx
push ecx
push 1
mov esi, dword [esi + 0x18]
mov ecx, esi
push eax
call dword [0x10041308]
call esi
mov esi, eax
test esi, esi
js 0x10033a01
mov esi, dword [esp + 0x4c]
lea eax, [esi + 0x60]
push eax
lea eax, [esi + 0x64]
push eax
lea eax, [esi + 0x68]
push eax
lea eax, [esi + 0x38]
push eax
lea eax, [esi + 0x1f]
push eax
lea eax, [esi + 0x1e]
push eax
lea ecx, [esi + 0x1c]
push ecx
lea eax, [esi + 0x18]
push eax
lea edx, [esi + 0x14]
lea ecx, [esi + 0x4c]
call fcn.10012402
mov esi, eax
add esp, 0x20
test esi, esi
js 0x10033a01
mov ecx, dword [esp + 0xc]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x10041308]
call esi
mov esi, eax
test esi, esi
js 0x10033a01
lea ecx, [esp + 0x68]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea ecx, [esp + 0x14]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x38]
mov edx, ebx
push eax
call fcn.1002fd80
add esp, 8
cmp eax, 7
jne 0x100339de
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0xc]
sub ebx, esi
sub ebx, ecx
lea eax, [edx + ecx*2]
mov dword [esp + 0x10], eax
lea eax, [ecx + esi]
lea ecx, [esp + 0xc]
push ecx
lea eax, [edx + eax*2]
mov edx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], eax
push ecx
mov ecx, eax
call fcn.1002fd80
add esp, 8
cmp eax, 2
jne 0x10033679
cmp dword [esp + 0xc], 1
jne 0x100339de
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
cmp word [eax + ecx*2], 0x2e
jne 0x100339de
mov edx, dword [esp + 0x10]
mov dword [esp + 0x7c], esi
lea esi, [eax + 2]
or eax, 0xffffffff
mov dword [esp + 0x38], edx
sub eax, ecx
lea esi, [esi + ecx*2]
mov ecx, esi
lea edx, [eax + ebx]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.1002fd80
add esp, 8
cmp eax, 7
jne 0x100339de
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x7c]
lea eax, [esi + eax*2]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
jmp 0x10033687
test eax, eax
jne 0x100339de
mov dword [esp + 0x38], eax
xor ebx, ebx
lea ecx, [esp + 0x68]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::Empty_void_]
push dword [esp + 0x10]
lea ecx, [esp + 0x6c]
push esi
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::ConcatInPlace_int__unsigned_short_int_const__]
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x58]
push esi
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_unsigned_short_int_const__]
cmp word [esi + edi*2], 0x22
jne 0x100336e0
push edi
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x64]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString___thiscall_CWString::Mid_int__int_]
push eax
lea ecx, [esp + 0x5c]
call dword [0x100410fc]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
push 0x10008df8
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_char_const__]
mov esi, dword [esp + 0x4c]
lea ecx, [esp + 0x3c]
mov eax, 0x87
cmp ax, word [esi + 0x1c]
jne 0x10033709
push 0x10008e18
jmp 0x1003370e
push 0x10008e00
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
cmp dword [esi + 4], 0x8000000
lea ecx, [esp + 0x3c]
jae 0x10033741
push 0x10008f30
jmp 0x10033746
push 0x10008e98
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x68]
call fcn.10012402
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
test ebx, ebx
je 0x10033815
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::Empty_void_]
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x3c]
push esi
push ebx
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::ConcatInPlace_int__unsigned_short_int_const__]
push 0x10008ff4
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x3c]
call fcn.10037650
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
push 0x10009018
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
jmp 0x10033841
push 0x10009004
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
mov esi, dword [esp + 0x38]
push 0x10008fc0
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x68]
call fcn.10037650
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
push 0x10008fdc
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
test ebx, ebx
je 0x10033946
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::Empty_void_]
push esi
push ebx
lea ecx, [esp + 0x44]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::ConcatInPlace_int__unsigned_short_int_const__]
push 0x10008ff4
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x3c]
call fcn.10037650
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
push 0x10009018
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x3c]
jmp 0x10033968
push 0x10009004
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
push 0x1000901c
lea ecx, [esp + 0x28]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::constructor_char_const__]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSDATL3.dll_public:_class_CWString_const____thiscall_CWString::operator_class_CWString_const__]
lea ecx, [esp + 0x24]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
cmp byte [esp + 0x20], 0
je 0x100339a4
mov esi, 0x8007000e
jmp 0x100339e3
mov eax, dword [esp + 0x18]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.10011370
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
test eax, eax
je 0x1003399d
mov edx, dword [esp + 0x18]
mov ecx, eax
push dword [esp + 0x14]
lea edx, [edx + 1]
call fcn.1001c680
xor esi, esi
jmp 0x100339e3
mov esi, 0x80040e37
lea ecx, [esp + 0x14]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x58]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
lea ecx, [esp + 0x68]
call dword [sym.imp.MSDATL3.dll_public:_void___thiscall_CWString::destructor_void_]
push dword [esp + 0x54]
push dword [0x100407b4]
call dword [sym.imp.MSDART.DLL_MpHeapFree]
add esp, 8
test esi, esi
jns 0x10033a4a
mov eax, dword [0x100407c0]
push 0x10010b78
push esi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x10041308]
call esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0xc4]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1003cb60
mov esp, ebp
pop ebp
ret 0x14