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

Disassembly:
push 0xffffffffffffffff
push 0x43e970
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, 0x452e6c
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_3
lea ecx, [esp + 0x18]
mov dword [esp + 0x70], 0
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString_3
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 0x452d88
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
or edi, 0xffffffff
cmp eax, edi
je 0x409841
xor bl, bl
push 0x452d10
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x409855
xor bl, bl
push 0x452e68
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x409869
xor bl, bl
push 0x452d0c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x40987d
xor bl, bl
push 0x452e64
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x409891
xor bl, bl
push 0x452e60
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
je 0x4098a5
xor bl, bl
push 0x452d84
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_2
cmp eax, edi
jne 0x4098bb
test bl, bl
jne 0x409917
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 [0x490c00]
call fcn.00439d10
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 0x409965
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 0x409a01
lea edx, [edi + esi]
mov dl, byte [esp + edx + 0x28]
mov ecx, dword [eax]
cmp byte [esp + ecx + 0x48], dl
je 0x409a01
dec ecx
mov dword [eax], ecx
cmp byte [esp + ecx + 0x48], 0
jne 0x4099ef
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 0x4099de
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 0x409a63
cmp ecx, 0x1c
jl 0x409a63
cmp esi, 0x1c
jl 0x409a63
cmp edi, 0x1c
jl 0x409a63
cmp edx, 0x1c
jl 0x409a63
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 0x409bca
inc edx
mov bl, 0x5a
cmp edx, 9
jle 0x409a95
mov al, byte [esp + 0x2c]
test al, al
jne 0x409a95
mov al, byte [ebp]
inc edi
cmp al, bl
jne 0x409a91
cmp byte [ebp + 1], bl
jne 0x409a91
cmp byte [ebp + 2], bl
jne 0x409a91
cmp byte [ebp + 3], bl
jne 0x409a91
mov edx, 0xa
jmp 0x409aa7
xor edx, edx
jmp 0x409aa7
cmp edx, 0x1c
jle 0x409aa2
mov edx, 0xa
inc edi
jmp 0x409aa7
mov byte [esp + 0x13], 0
cmp edi, 9
jle 0x409ad9
mov al, byte [esp + 0x2b]
test al, al
jne 0x409ad9
mov al, byte [esp + 0x13]
test al, al
je 0x409ad9
inc esi
cmp byte [ebp], bl
mov al, 1
jne 0x409ad5
cmp byte [ebp + 1], bl
jne 0x409ad5
cmp byte [ebp + 2], bl
jne 0x409ad5
mov edi, 0xa
jmp 0x409af2
xor edi, edi
jmp 0x409af2
cmp edi, 0x1c
jle 0x409af0
mov al, byte [esp + 0x13]
test al, al
je 0x409af0
mov al, 1
mov edi, 0xa
inc esi
jmp 0x409af2
xor al, al
cmp esi, 9
jle 0x409b1a
cmp byte [esp + 0x2a], 0
jne 0x409b1a
test al, al
je 0x409b1a
inc ecx
cmp byte [ebp], bl
mov al, 1
jne 0x409b16
cmp byte [ebp + 1], bl
jne 0x409b16
mov esi, 0xa
jmp 0x409b2f
xor esi, esi
jmp 0x409b2f
cmp esi, 0x1c
jle 0x409b2d
test al, al
je 0x409b2d
mov al, 1
mov esi, 0xa
inc ecx
jmp 0x409b2f
xor al, al
cmp ecx, 9
jle 0x409b5e
mov bl, byte [esp + 0x29]
test bl, bl
jne 0x409b5e
test al, al
je 0x409b5e
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 0x409b7b
cmp ecx, 0x1c
jle 0x409b79
test al, al
je 0x409b79
mov ebx, dword [esp + 0x30]
mov al, 1
inc ebx
mov ecx, 0xa
mov dword [esp + 0x30], ebx
jmp 0x409b7b
xor al, al
cmp dword [esp + 0x30], 0x1c
jle 0x409b8e
test al, al
je 0x409b8e
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.004082c0
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