Function at 0x494350
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b33d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 5
push str.__xml
mov dword [esp + 0x30], edi
mov eax, dword [edi + 4]
mov eax, dword [eax + 0x178]
mov esi, dword [eax + 0x18]
add esi, 0x14
push esi
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x4943be
push str._CPS
lea ecx, [edi + 0x14]
call sub.MFC42.DLL_CString::operator
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0
push ecx
push str.ERROR
push esi
call fcn.004edbb0
add esp, 0xc
test eax, eax
je 0x49441d
lea edx, [esp + 0x18]
lea ecx, [edi + 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.MSVCRT.dll_strstr]
push str._AirLine_
push esi
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x49460a
add esi, 9
push str.__AirLine
push esi
call ebx
add esp, 8
test eax, eax
je 0x49460a
mov edx, eax
lea edi, [esp + 0x30]
sub edx, esi
add eax, 0xa
mov ecx, edx
push str._Code_
mov ebp, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + edx + 0x38], 0
call ebx
mov edi, eax
add esp, 8
test edi, edi
je 0x49460a
mov al, byte [edi + 6]
add edi, 6
push str._POL_
push edi
mov byte [esp + 0x1f], al
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x49460a
push str.__POL_
push edi
add esi, 5
call ebx
add esp, 8
test eax, eax
je 0x49460a
mov dword [esp + 0x2c], eax
sub eax, esi
cmp eax, 0x10
jg 0x494419
mov ecx, eax
lea edi, [esp + 0x38]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x38], 0
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [0x5d6138]
add esp, 4
fst qword [esp + 0x1c]
fcomp qword [0x5d6130]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
fnstsw ax
test ah, 1
je 0x494516
push str.___2.1f
jmp 0x49451b
push str.__2.1f
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edx, 6
sub edx, ecx
test edx, edx
jle 0x494554
lea ecx, [esp + ecx + 0x39]
mov byte [ecx + eax - 1], 0x20
mov byte [ecx + eax], 0
inc eax
cmp eax, edx
jl 0x494546
mov ecx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x1c], edi
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jle 0x494419
mov edx, dword [eax + 0x10]
lea eax, [esp + 0x30]
push eax
mov esi, dword [edx + edi*4]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x4945bb
mov ebx, dword [esi + 0x40]
xor ebp, ebp
test ebx, ebx
jle 0x4945bb
mov esi, dword [esi + 0x3c]
mov edx, dword [esi]
mov al, byte [esp + 0x17]
cmp byte [edx], al
jne 0x4945af
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
je 0x4945d2
inc ebp
add esi, 4
cmp ebp, ebx
jl 0x494594
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x28]
inc edi
mov dword [esp + 0x1c], edi
mov eax, dword [ecx + 0x10]
cmp edi, dword [eax + 0x14]
jge 0x494419
jmp 0x49456c
mov al, byte [edx + 2]
lea edi, [esp + 0x38]
mov byte [edx + 1], al
or ecx, 0xffffffff
xor eax, eax
mov byte [edx + 2], 0
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x494419
lea ecx, [esp + 0x18]
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret