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

Disassembly:
sub esp, 0x3a8
push ebx
mov ebx, dword [esp + 0x3b0]
push ebp
push esi
xor esi, esi
cmp ebx, esi
mov dword [esp + 0x10], esi
jge 0x4215ed
mov ebp, dword [sym.imp.KERNEL32.dll_FormatMessageA]
push esi
push esi
lea eax, [esp + 0x18]
push eax
push 0x400
push ebx
push esi
push 0x900
call ebp
neg eax
sbb al, al
inc al
mov byte [esp + 0xf], al
jne 0x4215d2
push esi
push esi
lea ecx, [esp + 0x18]
push ecx
push 0x400
push ebx
push esi
push 0x1100
call ebp
neg eax
sbb al, al
inc al
mov byte [esp + 0xf], al
je 0x4215ed
mov edx, dword [esp + 0x10]
lea ecx, [edi + 8]
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x4215fb
lea ecx, [edi + 8]
push 0x57e144
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_6]
mov edx, 0x5687
mov eax, 0x56ae
mov ebp, 0x56c2
mov ebx, 0x56c4
mov ecx, 1
mov dword [esp + 0x18], 0xc0040219
mov dword [esp + 0x1c], 0x567a
mov dword [esp + 0x20], 0x56bc
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 0xc0040226
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 0xc004021b
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], 0xc0041080
mov dword [esp + 0x70], 0x567d
mov dword [esp + 0x74], 0x56a6
mov dword [esp + 0x78], 0x56c1
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x88], 0xc004022e
mov dword [esp + 0x8c], 0x567e
mov dword [esp + 0x90], 0x56a7
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], 0xc0040234
mov dword [esp + 0xa8], 0x567f
mov dword [esp + 0xac], 0x56a8
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], esi
mov dword [esp + 0xc0], 0xc0040233
mov dword [esp + 0xc4], 0x5680
mov dword [esp + 0xc8], 0x56a9
mov dword [esp + 0xcc], 0x56c7
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
mov dword [esp + 0xdc], 0xc004021e
mov dword [esp + 0xe0], 0x5681
mov dword [esp + 0xe4], 0x56a4
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], esi
mov dword [esp + 0xf4], esi
mov dword [esp + 0xf8], 0xc004022a
mov dword [esp + 0xfc], 0x5682
mov dword [esp + 0x100], 0x56aa
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], esi
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x114], 0xc0041081
mov dword [esp + 0x118], edx
mov dword [esp + 0x11c], eax
mov dword [esp + 0x120], ebp
mov dword [esp + 0x124], esi
mov dword [esp + 0x128], esi
mov dword [esp + 0x12c], esi
mov dword [esp + 0x130], 0xc0040212
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], 0x56c3
mov dword [esp + 0x140], esi
mov dword [esp + 0x144], esi
mov dword [esp + 0x148], esi
mov dword [esp + 0x14c], 0xc0040211
mov dword [esp + 0x150], edx
mov dword [esp + 0x154], eax
mov dword [esp + 0x158], 0x56c3
mov dword [esp + 0x15c], esi
mov dword [esp + 0x160], esi
mov dword [esp + 0x164], esi
mov dword [esp + 0x168], 0xc004023c
mov dword [esp + 0x16c], 0x5686
mov dword [esp + 0x170], 0x56ad
mov dword [esp + 0x174], 0x56c5
mov dword [esp + 0x178], esi
mov dword [esp + 0x17c], ecx
mov dword [esp + 0x180], esi
mov dword [esp + 0x184], 0xc004022f
mov dword [esp + 0x188], edx
mov dword [esp + 0x18c], eax
mov dword [esp + 0x190], esi
mov dword [esp + 0x194], esi
mov dword [esp + 0x198], esi
mov dword [esp + 0x19c], esi
mov dword [esp + 0x1a0], 0xc0040205
mov dword [esp + 0x1a4], 0x5677
mov dword [esp + 0x1a8], 0x5677
mov dword [esp + 0x1ac], 0x56a1
mov dword [esp + 0x1b0], esi
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], esi
mov dword [esp + 0x1bc], 0xc0040201
mov dword [esp + 0x1c0], 0x56be
mov dword [esp + 0x1c4], 0x56bf
mov dword [esp + 0x1c8], 0x56c0
mov dword [esp + 0x1cc], esi
mov dword [esp + 0x1d0], esi
mov dword [esp + 0x1d4], esi
mov dword [esp + 0x1d8], 0xc0040208
mov dword [esp + 0x1dc], 0x5689
mov dword [esp + 0x1e0], 0x56b0
mov dword [esp + 0x1e4], 0x56c6
mov dword [esp + 0x1e8], esi
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], esi
mov dword [esp + 0x1f4], 0xc0040209
mov dword [esp + 0x1f8], 0x568a
mov dword [esp + 0x1fc], 0x56b1
mov dword [esp + 0x200], 0x56c5
mov dword [esp + 0x204], esi
mov dword [esp + 0x208], ecx
mov dword [esp + 0x20c], esi
mov dword [esp + 0x210], 0xc0040220
mov dword [esp + 0x214], 0x568b
mov dword [esp + 0x218], 0x56b2
mov dword [esp + 0x21c], 0x56c5
mov dword [esp + 0x220], esi
mov dword [esp + 0x224], ecx
mov dword [esp + 0x228], esi
mov dword [esp + 0x22c], 0xc0040237
mov dword [esp + 0x230], 0x568c
mov dword [esp + 0x234], 0x56b3
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], ecx
mov dword [esp + 0x240], ecx
mov dword [esp + 0x244], esi
mov dword [esp + 0x248], 0xc004021a
mov dword [esp + 0x24c], edx
mov dword [esp + 0x250], eax
mov dword [esp + 0x254], ebp
mov dword [esp + 0x258], esi
mov dword [esp + 0x25c], esi
mov dword [esp + 0x260], esi
mov dword [esp + 0x264], 0xc0041012
mov dword [esp + 0x268], 0x568e
mov dword [esp + 0x26c], 0x568e
mov dword [esp + 0x270], 0x56a1
mov dword [esp + 0x274], esi
mov dword [esp + 0x278], ecx
mov dword [esp + 0x27c], esi
mov dword [esp + 0x280], 0xc004023d
mov dword [esp + 0x284], 0x56a2
mov dword [esp + 0x288], 0x56a2
mov dword [esp + 0x2a4], eax
mov dword [esp + 0x2c0], eax
mov dword [esp + 0x2f8], eax
mov eax, 0x56b2
mov dword [esp + 0x2a8], ebp
mov ebp, 0x56c3
mov dword [esp + 0x368], eax
mov dword [esp + 0x384], eax
mov eax, 0x5697
mov dword [esp + 0x28c], 0x56a1
mov dword [esp + 0x290], esi
mov dword [esp + 0x294], ecx
mov dword [esp + 0x298], esi
mov dword [esp + 0x29c], 0xc0040229
mov dword [esp + 0x2a0], edx
mov dword [esp + 0x2ac], esi
mov dword [esp + 0x2b0], esi
mov dword [esp + 0x2b4], esi
mov dword [esp + 0x2b8], 0xc004021d
mov dword [esp + 0x2bc], edx
mov dword [esp + 0x2c4], ebp
mov dword [esp + 0x2c8], esi
mov dword [esp + 0x2cc], esi
mov dword [esp + 0x2d0], esi
mov dword [esp + 0x2d4], 0xc0040210
mov dword [esp + 0x2d8], 0x5691
mov dword [esp + 0x2dc], 0x569f
mov dword [esp + 0x2e0], esi
mov dword [esp + 0x2e4], esi
mov dword [esp + 0x2e8], esi
mov dword [esp + 0x2ec], esi
mov dword [esp + 0x2f0], 0xc0040223
mov dword [esp + 0x2f4], edx
mov dword [esp + 0x2fc], ebp
mov dword [esp + 0x300], esi
mov dword [esp + 0x304], esi
mov dword [esp + 0x308], esi
mov dword [esp + 0x30c], 0xc0041087
mov dword [esp + 0x310], 0x567d
mov dword [esp + 0x314], 0x56a6
mov dword [esp + 0x318], 0x56c1
mov dword [esp + 0x31c], esi
mov dword [esp + 0x320], esi
mov dword [esp + 0x324], esi
mov dword [esp + 0x328], 0xc004022b
mov dword [esp + 0x32c], 0x5694
mov dword [esp + 0x330], 0x56b9
mov dword [esp + 0x334], ebx
mov dword [esp + 0x338], ecx
mov dword [esp + 0x33c], esi
mov dword [esp + 0x340], esi
mov dword [esp + 0x344], 0xc0040239
mov dword [esp + 0x348], 0x5695
mov dword [esp + 0x34c], 0x56ba
mov dword [esp + 0x350], ebx
mov dword [esp + 0x354], ecx
mov dword [esp + 0x358], esi
mov dword [esp + 0x35c], esi
mov dword [esp + 0x360], 0xc004022c
mov dword [esp + 0x364], 0x5679
mov dword [esp + 0x36c], ebx
mov dword [esp + 0x370], ecx
mov dword [esp + 0x374], ecx
mov dword [esp + 0x378], ecx
mov dword [esp + 0x37c], 0xc004023b
mov dword [esp + 0x380], 0x5696
mov dword [esp + 0x388], 0x56c5
mov dword [esp + 0x38c], esi
mov dword [esp + 0x390], ecx
mov dword [esp + 0x394], ecx
mov dword [esp + 0x398], 0xc004022d
mov dword [esp + 0x39c], eax
mov dword [esp + 0x3a0], eax
mov dword [esp + 0x3a4], esi
mov dword [esp + 0x3a8], esi
mov dword [esp + 0x3ac], esi
mov dword [esp + 0x3b0], esi
mov dword [edi + 0x1c], esi
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
xor ebp, ebp
mov dword [edi + 0x24], esi
xor ebx, ebx
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0xb
lea esp, [esp]
mov edx, dword [esp + 0x3b8]
cmp edx, dword [eax - 4]
jne 0x421ddc
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
mov dword [edi + 0x24], ebx
mov ebx, dword [eax + 0xc]
mov dword [edi + 0x10], ebx
mov ebx, dword [eax + 0x10]
mov dword [edi + 0x14], ebx
mov ebx, dword [eax + 0x14]
mov dword [edi + 0x18], ebx
mov ebx, dword [eax + 8]
mov dword [edi + 0x1c], ecx
cmp edx, dword [eax + 0x18]
jne 0x421e02
mov ebx, dword [eax + 0x1c]
mov ebp, dword [eax + 0x20]
mov dword [edi + 0x24], ebx
mov ebx, dword [eax + 0x28]
mov dword [edi + 0x10], ebx
mov ebx, dword [eax + 0x2c]
mov dword [edi + 0x14], ebx
mov ebx, dword [eax + 0x30]
mov dword [edi + 0x18], ebx
mov ebx, dword [eax + 0x24]
mov dword [edi + 0x1c], ecx
cmp edx, dword [eax + 0x34]
jne 0x421e28
mov edx, dword [eax + 0x38]
mov ebp, dword [eax + 0x3c]
mov ebx, dword [eax + 0x40]
mov dword [edi + 0x24], edx
mov edx, dword [eax + 0x44]
mov dword [edi + 0x10], edx
mov edx, dword [eax + 0x48]
mov dword [edi + 0x14], edx
mov edx, dword [eax + 0x4c]
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ecx
mov edx, dword [esp + 0x14]
add eax, 0x54
dec edx
mov dword [esp + 0x14], edx
jne 0x421db0
mov eax, dword [edi + 0x24]
cmp eax, esi
lea ecx, [edi + 0x20]
je 0x421e6f
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
push ebp
lea ecx, [edi + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
cmp ebx, esi
lea ecx, [edi + 0x2c]
je 0x421e86
push ebx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA_1]
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 4
lea esi, [edi + 8]
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
push esi
lea ecx, [edi + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_5]
lea ecx, [edi + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Empty_1]
pop esi
pop ebp
pop ebx
add esp, 0x3a8
ret 4