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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5b7509
push eax
mov eax, 0x2048
mov dword fs:[0], esp
call fcn.0059c2c0
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 0x4bea61
mov ebx, dword [esp + 0x2068]
mov cl, byte [ebx + 0x14]
test cl, cl
jne 0x4beb8c
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 [0x641030]
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.004ecdd0
add esp, 0x24
test al, al
je 0x4be914
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x58]
push eax
push 0x61f3e4
push ecx
call fcn.004edbb0
add esp, 0xc
test eax, eax
jne 0x4be459
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 0x623ef8
push ecx
mov byte [esp + 0x2070], 9
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x10
test eax, eax
je 0x4be3d4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be3d4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a850
push eax
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a850
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 0x6145d8
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x2070], 9
call fcn.00459390
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x18]
jmp 0x4bea25
lea eax, [esp + 0x30]
lea ecx, [esp + 0x58]
push eax
push str.ret_value
push ecx
call fcn.004ede70
mov edx, dword [esp + 0x3c]
mov ebx, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x60d5a4
push edx
call ebx
add esp, 0x14
test eax, eax
je 0x4be5cd
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 0x623ed8
push edx
mov byte [esp + 0x2070], 0xd
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0x10
test eax, eax
je 0x4be523
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be523
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a850
push eax
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x34]
call fcn.0041a850
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 0x6145d8
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x2070], 0xd
call fcn.00459390
mov ecx, dword [esp + 0x1c]
push 0x623ecc
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4be5bc
mov eax, dword [esp + 0x50]
inc eax
cmp eax, 3
mov dword [esp + 0x50], eax
jge 0x4becab
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x34]
jmp 0x4bea25
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.004edbb0
lea edx, [esp + 0x28]
lea eax, [esp + 0x64]
push edx
push str.DOMESTIC
push eax
call fcn.004edbb0
mov ecx, dword [esp + 0x34]
push 0x60d5a4
push ecx
call ebx
add esp, 0x20
test eax, eax
mov eax, 0x623ebc
je 0x4be61a
mov eax, 0x62282c
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.004edbb0
lea ecx, [esi + 0x24]
lea edx, [esp + 0x64]
push ecx
push str.PNRNO
push edx
call fcn.004edbb0
lea eax, [esi + 0x70]
lea ecx, [esp + 0x70]
push eax
push str.CUSTOMERCODE
push ecx
call fcn.004edbb0
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 0x623ea8
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.004edbb0
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4be8c9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CARRIER
push ecx
call fcn.004edbb0
mov edx, dword [esi + 0x50]
lea edi, [esi + 0x50]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
jne 0x4be6e3
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4be708
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x4be708
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059ba4c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push str.FLIGHT
push ecx
call fcn.004edbb0
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 0x4be76c
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0059ba4c
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.DEPDATE
push edx
call fcn.004edbb0
mov eax, dword [esi + 0x60]
lea edi, [esi + 0x60]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be7a5
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0059ba4c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.DEPTIME
push eax
call fcn.004edbb0
mov ecx, dword [esi + 0x64]
lea edi, [esi + 0x64]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be7de
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059ba4c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CLASS
push ecx
call fcn.004edbb0
mov edx, dword [esi + 0x5c]
lea edi, [esi + 0x5c]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x4be817
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0059ba4c
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.FAREBASIS
push edx
call fcn.004edbb0
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be850
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0059ba4c
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.ORIGIN
push eax
call fcn.004edbb0
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x68]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be895
push 0x619fec
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0x2f
mov ecx, edi
call fcn.0059b7b2
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059ba4c
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.DEST
push ecx
call fcn.004edbb0
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059ba4c
jmp 0x4be694
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x68]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4be8e9
push eax
lea edx, [esp + 0x5c]
push str.TRIP
push edx
call fcn.004edbb0
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 0x4bea2a
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push eax
push 0x623e7c
push ecx
mov byte [esp + 0x206c], 0x14
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x4be9a5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be9a5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x40]
call fcn.0041a850
push eax
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [0x641030]
push str.runtime
push 0x60c77c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ed3c0
mov ecx, dword [0x641030]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.0041a850
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 0x6145d8
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x2070], 0x14
call fcn.00459390
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 0x4be293
mov eax, dword [0x641030]
test eax, eax
je 0x4beaca
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4beaca
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x623e58
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x641030]
push str.runtime
push 0x60c77c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ed3c0
mov eax, dword [0x641030]
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 0x623e58
call sub.MFC42.DLL_CString::CString_3
push ecx
mov byte [esp + 0x2068], 0x18
mov ecx, esp
mov dword [esp + 0x48], esp
push 0x6145d8
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x2070], 2
call fcn.00459390
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 0x623e34
push edx
mov byte [esp + 0x206c], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x641030]
add esp, 0xc
test eax, eax
je 0x4bec21
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4bec21
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a850
push eax
push 0x6145d8
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str..task.
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [0x641030]
push str.runtime
push 0x60c77c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ed3c0
mov edx, dword [0x641030]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a850
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 0x6145d8
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 0x60c778
call sub.MFC42.DLL_CString::CString_3
mov ecx, dword [0x63bc8c]
mov byte [esp + 0x2070], 3
call fcn.00459390
lea ecx, [esp + 0x18]
mov byte [esp + 0x2060], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4beb39
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 0x4beb71