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

Disassembly:
push 0xffffffffffffffff
push 0x43dae0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov ecx, 7
mov esi, 0x451e6c
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], ebp
movsw word es:[edi], word [esi]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString_4
mov esi, dword [ebp + 0x10]
lea eax, [esp + 0x24]
push 5
push eax
lea ecx, [ebp + 0xc]
mov byte [esp + 0x78], 2
mov byte [esp + 0x1b], 1
sub esi, 5
mov bl, 1
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 3
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
push 0x451d88
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
or edi, 0xffffffff
cmp eax, edi
je 0x409071
xor bl, bl
push 0x451d10
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x409085
xor bl, bl
push 0x451e68
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x409099
xor bl, bl
push 0x451d0c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x4090ad
xor bl, bl
push 0x451e64
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x4090c1
xor bl, bl
push 0x451e60
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x4090d5
xor bl, bl
push 0x451d84
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
jne 0x4090eb
test bl, bl
jne 0x409147
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._BARCODE__S_N_Include_Unusable_Character____E__I__J__O__Q__S__U_...
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x48f9c8]
call fcn.00439080
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], edi
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 8]
mov ecx, dword [ecx - 8]
cmp ecx, edx
jge 0x409195
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], edi
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x24]
push esi
push edx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x74], 4
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x24]
push 5
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x1c]
mov bl, byte [esp + 0x64]
mov edi, ebp
lea ecx, [esp + 0x28]
xor esi, esi
lea eax, [esp + 0x30]
sub edi, ecx
test bl, bl
mov dword [eax], 0x1c
je 0x409231
lea edx, [edi + esi]
mov dl, byte [esp + edx + 0x28]
mov ecx, dword [eax]
cmp byte [esp + ecx + 0x48], dl
je 0x409231
dec ecx
mov dword [eax], ecx
cmp byte [esp + ecx + 0x48], 0
jne 0x40921f
lea ecx, [esp + esi + 0x28]
cmp byte [edi + ecx], 0x41
setge dl
inc esi
add eax, 4
cmp esi, 5
mov byte [ecx], dl
jl 0x40920e
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
cmp eax, 0x1c
jl 0x409293
cmp ecx, 0x1c
jl 0x409293
cmp esi, 0x1c
jl 0x409293
cmp edi, 0x1c
jl 0x409293
cmp edx, 0x1c
jl 0x409293
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push eax
push str._sZZZZZ
lea ecx, [esi + 4]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
jmp 0x4093fa
inc edx
mov bl, 0x5a
cmp edx, 9
jle 0x4092c5
mov al, byte [esp + 0x2c]
test al, al
jne 0x4092c5
mov al, byte [ebp]
inc edi
cmp al, bl
jne 0x4092c1
cmp byte [ebp + 1], bl
jne 0x4092c1
cmp byte [ebp + 2], bl
jne 0x4092c1
cmp byte [ebp + 3], bl
jne 0x4092c1
mov edx, 0xa
jmp 0x4092d7
xor edx, edx
jmp 0x4092d7
cmp edx, 0x1c
jle 0x4092d2
mov edx, 0xa
inc edi
jmp 0x4092d7
mov byte [esp + 0x13], 0
cmp edi, 9
jle 0x409309
mov al, byte [esp + 0x2b]
test al, al
jne 0x409309
mov al, byte [esp + 0x13]
test al, al
je 0x409309
inc esi
cmp byte [ebp], bl
mov al, 1
jne 0x409305
cmp byte [ebp + 1], bl
jne 0x409305
cmp byte [ebp + 2], bl
jne 0x409305
mov edi, 0xa
jmp 0x409322
xor edi, edi
jmp 0x409322
cmp edi, 0x1c
jle 0x409320
mov al, byte [esp + 0x13]
test al, al
je 0x409320
mov al, 1
mov edi, 0xa
inc esi
jmp 0x409322
xor al, al
cmp esi, 9
jle 0x40934a
cmp byte [esp + 0x2a], 0
jne 0x40934a
test al, al
je 0x40934a
inc ecx
cmp byte [ebp], bl
mov al, 1
jne 0x409346
cmp byte [ebp + 1], bl
jne 0x409346
mov esi, 0xa
jmp 0x40935f
xor esi, esi
jmp 0x40935f
cmp esi, 0x1c
jle 0x40935d
test al, al
je 0x40935d
mov al, 1
mov esi, 0xa
inc ecx
jmp 0x40935f
xor al, al
cmp ecx, 9
jle 0x40938e
mov bl, byte [esp + 0x29]
test bl, bl
jne 0x40938e
test al, al
je 0x40938e
mov ecx, dword [esp + 0x30]
xor ebx, ebx
inc ecx
mov al, 1
mov dword [esp + 0x30], ecx
mov cl, byte [ebp]
cmp cl, 0x5a
setne bl
dec ebx
and ebx, 0xa
mov ecx, ebx
jmp 0x4093ab
cmp ecx, 0x1c
jle 0x4093a9
test al, al
je 0x4093a9
mov ebx, dword [esp + 0x30]
mov al, 1
inc ebx
mov ecx, 0xa
mov dword [esp + 0x30], ebx
jmp 0x4093ab
xor al, al
cmp dword [esp + 0x30], 0x1c
jle 0x4093be
test al, al
je 0x4093be
mov dword [esp + 0x30], 0xa
movsx edx, byte [esp + edx + 0x48]
movsx eax, byte [esp + edi + 0x48]
push edx
push eax
movsx edx, byte [esp + esi + 0x50]
movsx eax, byte [esp + ecx + 0x50]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
push edx
push eax
movsx edx, byte [esp + ecx + 0x58]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esi + 4]
push str._s_c_c_c_c_c
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x20
mov ecx, esi
call fcn.00407af0
lea ecx, [esp + 0x1c]
mov bl, al
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov al, bl
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret