Function at 0x4be1a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5b2929
push eax
mov eax, 0x2048
mov dword fs:[0], esp
call fcn.005977b0
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x48], esi
call sub.MFC42.DLL_CString::CString_1
xor ebp, ebp
lea ecx, [esp + 0x24]
mov dword [esp + 0x2060], ebp
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x30]
mov byte [esp + 0x2060], 1
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x40]
mov byte [esp + 0x2060], 2
mov dword [esp + 0x50], ebp
mov dword [esp + 0x2c], ebp
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
jle 0x4be9e1
mov ebx, dword [esp + 0x2068]
mov cl, byte [ebx + 0x14]
test cl, cl
jne 0x4beb0c
mov eax, dword [eax + 8]
lea ecx, [esp + 0x38]
mov esi, dword [eax + ebp*4]
lea edi, [esi + 4]
push edi
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x28]
mov byte [esp + 0x2060], 7
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [edi]
mov eax, dword [0x63ac10]
mov edx, dword [ebx + 0xc]
push ecx
mov ecx, dword [eax + 0x1c8]
push edx
push ecx
lea edx, [esp + 0x34]
push str.http:__127.0.0.1:_d_ib_internal_req.asp_uid_stermidrtktsessionid0verify0cmdRTKTticket_s
push edx
mov byte [esp + 0x2074], 8
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x60]
push 0x10000
lea ecx, [esp + 0x70]
push eax
push ecx
push edx
mov dword [esp + 0x70], 0
call fcn.004ec140
add esp, 0x24
test al, al
je 0x4be894
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x58]
push eax
push 0x619448
push ecx
call fcn.004ecf20
add esp, 0xc
test eax, eax
jne 0x4be3d9
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
lea edx, [esp + 0x58]
push edx
push eax
lea ecx, [esp + 0x20]
push 0x61df1c
push ecx
mov byte [esp + 0x2070], 9
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
test eax, eax
je 0x4be354
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be354
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec730
mov ecx, dword [0x63ac10]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a990
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 0xa
mov ecx, esp
mov dword [esp + 0x4c], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x206c], 0xb
mov ecx, esp
mov dword [esp + 0x4c], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2070], 0xc
mov ecx, esp
mov dword [esp + 0x30], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x2070], 9
call fcn.004590c0
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x18]
jmp 0x4be9a5
lea eax, [esp + 0x30]
lea ecx, [esp + 0x58]
push eax
push str.ret_value
push ecx
call fcn.004ed1e0
mov edx, dword [esp + 0x3c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x6075a4
push edx
call ebx
add esp, 0x14
test eax, eax
je 0x4be54d
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi]
push eax
push ecx
lea edx, [esp + 0x3c]
push 0x61defc
push edx
mov byte [esp + 0x2070], 0xd
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0x10
test eax, eax
je 0x4be4a3
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be4a3
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x34]
call fcn.0041a990
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 0xe
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x206c], 0xf
mov ecx, esp
mov dword [esp + 0x50], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2070], 0x10
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x2070], 0xd
call fcn.004590c0
mov ecx, dword [esp + 0x1c]
push 0x61def0
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4be53c
mov eax, dword [esp + 0x50]
inc eax
cmp eax, 3
mov dword [esp + 0x50], eax
jge 0x4bec2b
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x34]
jmp 0x4be9a5
mov edx, dword [esp + 0x4c]
lea eax, [esi + 0x44]
push eax
lea ecx, [esp + 0x5c]
push str.ISSUEDDATE
push ecx
mov byte [esp + edx + 0x64], 0
call fcn.004ecf20
lea edx, [esp + 0x28]
lea eax, [esp + 0x64]
push edx
push str.DOMESTIC
push eax
call fcn.004ecf20
mov ecx, dword [esp + 0x34]
push 0x6075a4
push ecx
call ebx
add esp, 0x20
test eax, eax
mov eax, 0x61dee0
je 0x4be59a
mov eax, 0x61c8a4
push eax
lea ecx, [esi + 0x48]
call sub.MFC42.DLL_CString::operator
lea edx, [esi + 0x4c]
lea eax, [esp + 0x58]
push edx
push str.NAME
push eax
call fcn.004ecf20
lea ecx, [esi + 0x24]
lea edx, [esp + 0x64]
push ecx
push str.PNRNO
push edx
call fcn.004ecf20
lea eax, [esi + 0x70]
lea ecx, [esp + 0x70]
push eax
push str.CUSTOMERCODE
push ecx
call fcn.004ecf20
add esp, 0x24
lea ecx, [esp + 0x10]
lea ebx, [esp + 0x58]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x14]
mov byte [esp + 0x2060], 0x11
call sub.MFC42.DLL_CString::CString_1
lea ebp, [esi + 0x6c]
push 0x61decc
mov ecx, ebp
mov byte [esp + 0x2064], 0x12
call sub.MFC42.DLL_CString::operator
lea edx, [esp + 0x14]
push edx
push str.SEGMENT
push ebx
call fcn.004ecf20
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4be849
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CARRIER
push ecx
call fcn.004ecf20
mov edx, dword [esi + 0x50]
lea edi, [esi + 0x50]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
jne 0x4be663
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4be688
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x4be688
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.00596f3a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push str.FLIGHT
push ecx
call fcn.004ecf20
add esp, 0xc
lea edx, [esp + 0x24]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x54]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x2064], 0x13
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x54]
mov byte [esp + 0x2060], 0x12
call sub.MFC42.DLL_CString::CString
mov edx, dword [esi + 0x54]
lea edi, [esi + 0x54]
mov eax, dword [edx - 8]
test eax, eax
je 0x4be6ec
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.00596f3a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.DEPDATE
push edx
call fcn.004ecf20
mov eax, dword [esi + 0x60]
lea edi, [esi + 0x60]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be725
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00596f3a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.DEPTIME
push eax
call fcn.004ecf20
mov ecx, dword [esi + 0x64]
lea edi, [esi + 0x64]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be75e
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.00596f3a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CLASS
push ecx
call fcn.004ecf20
mov edx, dword [esi + 0x5c]
lea edi, [esi + 0x5c]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x4be797
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.00596f3a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.FAREBASIS
push edx
call fcn.004ecf20
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be7d0
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.00596f3a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.ORIGIN
push eax
call fcn.004ecf20
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x68]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be815
push 0x613f74
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0x2f
mov ecx, edi
call fcn.00596ca0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.00596f3a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.DEST
push ecx
call fcn.004ecf20
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.00596f3a
jmp 0x4be614
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x68]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4be869
push eax
lea edx, [esp + 0x5c]
push str.TRIP
push edx
call fcn.004ecf20
add esp, 0xc
lea ecx, [esp + 0x14]
mov byte [esp + 0x2060], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2060], 8
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x2c]
jmp 0x4be9aa
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push eax
push 0x61dea0
push ecx
mov byte [esp + 0x206c], 0x14
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0xc
test eax, eax
je 0x4be925
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be925
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x40]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec730
mov ecx, dword [0x63ac10]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.0041a990
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 0x15
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x206c], 0x16
mov ecx, esp
mov dword [esp + 0x50], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2070], 0x17
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x2070], 0x14
call fcn.004590c0
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2060], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2060], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x48]
inc ebp
mov dword [esp + 0x2c], ebp
mov eax, dword [eax + 0x40]
cmp ebp, dword [eax + 0xc]
jl 0x4be213
mov eax, dword [0x63ac10]
test eax, eax
je 0x4bea4a
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4bea4a
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x61de7c
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63ac10]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x61de7c
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x206c], 0x19
mov ecx, esp
mov dword [esp + 0x50], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2070], 0x1a
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x2070], 2
call fcn.004590c0
lea ecx, [esp + 0x30]
mov byte [esp + 0x2060], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2060], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2060], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov al, 1
mov ecx, dword [esp + 0x2058]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2054
ret 4
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x18]
push ecx
push 0x61de58
push edx
mov byte [esp + 0x206c], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac10]
add esp, 0xc
test eax, eax
je 0x4beba1
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4beba1
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a990
push eax
push 0x60e5d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x63ac10]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec730
mov edx, dword [0x63ac10]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a990
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 4
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x60e5d8
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x206c], 5
mov ecx, esp
mov dword [esp + 0x50], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2070], 6
mov ecx, esp
mov dword [esp + 0x58], esp
push 0x606778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x6357ec]
mov byte [esp + 0x2070], 3
call fcn.004590c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2060], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4beab9
lea ecx, [esp + 0x34]
mov byte [esp + 0x2060], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x2060], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x38]
mov byte [esp + 0x2060], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x2060], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x2060], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2060], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor al, al
jmp 0x4beaf1