Function at 0x421500
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4a2eb0]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x4a40a5]
push ebx
push esi
push edi
mov ebx, ecx
test al, al
je 0x421539
movzx ecx, al
push ecx
call dword [sym.imp.MSVCR100.dll_iswlower]
add esp, 4
test eax, eax
jne 0x421539
mov eax, 1
jmp 0x42153b
xor eax, eax
test al, al
mov eax, dword [ebp + 8]
sete byte [ebp - 0xad]
xor ecx, ecx
mov dword [ebp - 0xac], ecx
cmp eax, ecx
je 0x421565
mov dx, word [eax + 6]
cmp dx, word [0x4a2db0]
setge byte [ebp - 0xae]
mov eax, dword [0x4a5210]
add eax, 4
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xc0], eax
cmp eax, dword [0x4a42cc]
jb 0x4215b6
mov edx, dword [ebx + 0x14]
cmp edx, dword [ebx + 0x10]
pop edi
setne al
mov byte [ebx + 0x1c], al
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0xc0]
mov esi, dword [eax]
push esi
call fcn.0040bf40
add esp, 4
test al, al
je 0x421587
mov eax, dword [esi + 0x10]
cmp word [eax + 0x20], 0
jl 0x421587
cmp dword [0x4a510c], 0
je 0x4215e6
mov ecx, dword [esi + 0xc]
mov edx, dword [0x4a5114]
cmp edx, dword [ecx + 0x48]
jne 0x421587
mov eax, dword [esi + 0xc]
mov al, byte [eax + 0x45]
test al, al
je 0x421608
movzx edx, al
push edx
call dword [sym.imp.MSVCR100.dll_iswlower]
add esp, 4
test eax, eax
jne 0x421608
mov eax, 1
jmp 0x42160a
xor eax, eax
cmp byte [ebp - 0xad], al
je 0x421587
mov eax, dword [esi + 0xc]
push 0x47
add eax, 0x4c
push eax
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00434fe0
mov edi, dword [sym.imp.MSVCR100.dll_wcstok]
lea edx, [ebp - 0xa8]
push 0x45b224
push edx
call edi
mov ecx, dword [ebp - 0xbc]
add esp, 0x14
test ecx, ecx
jne 0x4216f4
mov edx, str.LOT:QTY
mov ecx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x42167d
test si, si
je 0x421679
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x42167d
add ecx, 4
add edx, 4
test si, si
jne 0x421657
xor ecx, ecx
jmp 0x421682
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x4216a3
mov dword [ebp - 0xbc], str.LOT:QTY
mov dword [ebp - 0xb4], 0x45d384
mov byte [ebx + 0x24], 1
jmp 0x421727
mov ecx, str.DATE:QTY
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4216ce
test dx, dx
je 0x4216ca
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4216ce
add eax, 4
add ecx, 4
test dx, dx
jne 0x4216a8
xor eax, eax
jmp 0x4216d3
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4218d8
mov dword [ebp - 0xbc], str.DATE:QTY
mov dword [ebp - 0xb4], str.date
mov byte [ebx + 0x24], al
jmp 0x421727
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42171a
test dx, dx
je 0x421716
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42171a
add eax, 4
add ecx, 4
test dx, dx
jne 0x4216f4
xor eax, eax
jmp 0x42171f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4218d8
inc dword [ebp - 0xac]
push 0x45b224
push 0
call edi
mov esi, eax
add esp, 8
test esi, esi
je 0x4218f8
push 0x3a
push esi
call dword [sym.imp.MSVCR100.dll_wcschr]
mov edi, eax
add esp, 8
test edi, edi
je 0x421929
cmp byte [ebx + 0x24], 0
je 0x4217ad
lea eax, [ebp - 0xb8]
push eax
push esi
call fcn.00434f10
add esp, 8
test eax, eax
je 0x421783
lea ecx, [esi + eax*2]
cmp ecx, edi
jne 0x421783
cmp dword [ebp - 0xb8], 0
jg 0x4217cd
mov ecx, dword [ebp - 0xac]
push esi
push ecx
push str.close_by_lots_comment__d_bad_lot_in__s
call fcn.004277f0
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
push esi
call fcn.004364c0
add esp, 4
mov dword [ebp - 0xc4], eax
test eax, eax
je 0x421a06
cmp eax, 0xffffffff
je 0x421a06
lea edx, [ebp - 0xcc]
push edx
add edi, 2
push edi
call fcn.00434e80
add esp, 8
test eax, eax
je 0x4219d5
mov cx, word [ebp - 0xc6]
movzx edx, cx
and edx, 0x7ff0
cmp dx, word [0x4a2db0]
jl 0x4219d5
cmp dword [ebp + 8], 0
je 0x421821
cmp cx, word [0x4a2db0]
setge cl
cmp byte [ebp - 0xae], cl
jne 0x4219d5
cmp word [edi + eax*2], 0x20
ja 0x4219d5
cmp byte [ebx + 0x24], 0
mov eax, dword [ebx + 0x10]
lea edi, [ebx + 0x10]
je 0x421857
cmp eax, dword [ebx + 0x14]
jae 0x421879
mov ecx, dword [ebp - 0xb8]
mov edx, dword [eax]
cmp dword [edx], ecx
je 0x42195a
add eax, 4
cmp eax, dword [ebx + 0x14]
jb 0x421843
jmp 0x421879
cmp eax, dword [ebx + 0x14]
jae 0x421879
lea esp, [esp]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc4]
cmp dword [ecx + 0x10], edx
je 0x421984
add eax, 4
cmp eax, dword [ebx + 0x14]
jb 0x421860
push 0x20
push ebx
call fcn.00417510
mov ecx, dword [ebp - 0xc4]
mov esi, eax
mov eax, dword [ebp - 0xb8]
mov dword [esi], eax
fld qword [ebp - 0xcc]
fstp qword [esi + 8]
mov dword [esi + 0x10], ecx
mov edx, dword [ebx + 0x14]
add esp, 8
cmp edx, dword [ebx + 0x18]
jb 0x4218b5
push 0xa
push 0xc
push edi
call fcn.00417490
add esp, 0xc
mov eax, dword [ebx + 0x14]
push 0x45b224
mov dword [eax], esi
add dword [ebx + 0x14], 4
push 0
call dword [sym.imp.MSVCR100.dll_wcstok]
mov esi, eax
add esp, 8
test esi, esi
jne 0x421743
mov eax, dword [ebp - 0xc0]
add eax, 4
mov dword [ebp - 0xc0], eax
cmp eax, dword [0x4a42cc]
jb 0x4215b0
jmp 0x421587
mov eax, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xac]
push eax
push ecx
push eax
push str.close_by__ss_comment__d_missing__s_and_quantity
call fcn.004277f0
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb4]
push esi
push edx
push eax
push str.close_by__ss_comment__d_missing_quantity_in__s
call fcn.004277f0
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xac]
push ecx
push edx
push str.close_by_lots_comment__d_lot__d_has_been_used_before
call fcn.004277f0
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
push 9
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.00434fe0
lea ecx, [ebp - 0x18]
push 0x3a
push ecx
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 0x14
test eax, eax
je 0x4219a8
xor edx, edx
mov word [eax], dx
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0x18]
push eax
push ecx
push str.close_by_dates_comment__d_date__s_has_been_used_before
call fcn.004277f0
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0xac]
mov eax, dword [ebp - 0xb4]
push esi
push edx
push eax
push str.close_by__ss_comment__d_bad_quantity_in__s
call fcn.004277f0
add esp, 0x10
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xac]
push esi
push ecx
push str.close_by_dates_comment__d_bad_date_in__s
call fcn.004277f0
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00439fc0
mov esp, ebp
pop ebp
ret 4