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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5b2af9
push eax
mov eax, 0x2048
mov dword fs:[0], esp
call fcn.005979e0
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 0x4be971
mov ebx, dword [esp + 0x2068]
mov cl, byte [ebx + 0x14]
test cl, cl
jne 0x4bea9c
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 [0x63ac20]
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.004ec120
add esp, 0x24
test al, al
je 0x4be824
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x58]
push eax
push 0x619444
push ecx
call fcn.004ecf00
add esp, 0xc
test eax, eax
jne 0x4be369
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 0x61df18
push ecx
mov byte [esp + 0x2070], 9
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x10
test eax, eax
je 0x4be2e4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be2e4
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec710
mov ecx, dword [0x63ac20]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a9a0
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 [0x6357fc]
mov byte [esp + 0x2070], 9
call fcn.00458fc0
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x18]
jmp 0x4be935
lea eax, [esp + 0x30]
lea ecx, [esp + 0x58]
push eax
push str.ret_value
push ecx
call fcn.004ed1c0
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 0x4be4dd
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 0x61def8
push edx
mov byte [esp + 0x2070], 0xd
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0x10
test eax, eax
je 0x4be433
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be433
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x38]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x34]
call fcn.0041a9a0
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 [0x6357fc]
mov byte [esp + 0x2070], 0xd
call fcn.00458fc0
mov ecx, dword [esp + 0x1c]
push 0x61deec
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4be4cc
mov eax, dword [esp + 0x50]
inc eax
cmp eax, 3
mov dword [esp + 0x50], eax
jge 0x4bebbb
mov byte [esp + 0x2060], 8
lea ecx, [esp + 0x34]
jmp 0x4be935
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.004ecf00
lea edx, [esp + 0x28]
lea eax, [esp + 0x64]
push edx
push str.DOMESTIC
push eax
call fcn.004ecf00
mov ecx, dword [esp + 0x34]
push 0x6075a4
push ecx
call ebx
add esp, 0x20
test eax, eax
mov eax, 0x61dedc
je 0x4be52a
mov eax, 0x61c8a0
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.004ecf00
lea ecx, [esi + 0x24]
lea edx, [esp + 0x64]
push ecx
push str.PNRNO
push edx
call fcn.004ecf00
lea eax, [esi + 0x70]
lea ecx, [esp + 0x70]
push eax
push str.CUSTOMERCODE
push ecx
call fcn.004ecf00
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 0x61dec8
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.004ecf00
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x4be7d9
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CARRIER
push ecx
call fcn.004ecf00
mov edx, dword [esi + 0x50]
lea edi, [esi + 0x50]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
jne 0x4be5f3
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call sub.MFC42.DLL_CString::operator_1
jmp 0x4be618
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jge 0x4be618
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059716a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
push str.FLIGHT
push ecx
call fcn.004ecf00
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 0x4be67c
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea eax, [esp + 0x24]
mov ecx, edi
push eax
call fcn.0059716a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.DEPDATE
push edx
call fcn.004ecf00
mov eax, dword [esi + 0x60]
lea edi, [esi + 0x60]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be6b5
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0059716a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.DEPTIME
push eax
call fcn.004ecf00
mov ecx, dword [esi + 0x64]
lea edi, [esi + 0x64]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be6ee
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059716a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.CLASS
push ecx
call fcn.004ecf00
mov edx, dword [esi + 0x5c]
lea edi, [esi + 0x5c]
add esp, 0xc
mov eax, dword [edx - 8]
test eax, eax
je 0x4be727
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.0059716a
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
push str.FAREBASIS
push edx
call fcn.004ecf00
mov eax, dword [esi + 0x58]
lea edi, [esi + 0x58]
add esp, 0xc
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4be760
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0059716a
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push str.ORIGIN
push eax
call fcn.004ecf00
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x68]
add esp, 0xc
mov eax, dword [ecx - 8]
test eax, eax
je 0x4be7a5
push 0x613f70
mov ecx, ebp
call sub.MFC42.DLL_CString::operator
push 0x2f
mov ecx, edi
call fcn.00596ed0
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059716a
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push str.DEST
push ecx
call fcn.004ecf00
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, edi
push edx
call fcn.0059716a
jmp 0x4be5a4
mov ecx, dword [esi + 0x68]
lea eax, [esi + 0x68]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x4be7f9
push eax
lea edx, [esp + 0x5c]
push str.TRIP
push edx
call fcn.004ecf00
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 0x4be93a
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [edi]
lea ecx, [esp + 0x3c]
push eax
push 0x61de9c
push ecx
mov byte [esp + 0x206c], 0x14
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x4be8b5
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be8b5
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x40]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov eax, dword [edx + 0x44]
push eax
call fcn.004ec710
mov ecx, dword [0x63ac20]
add esp, 0x1c
add ecx, 0x248
mov edx, dword [ecx]
call dword [edx + 0x1c]
lea ecx, [esp + 0x3c]
call fcn.0041a9a0
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 [0x6357fc]
mov byte [esp + 0x2070], 0x14
call fcn.00458fc0
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 0x4be1a3
mov eax, dword [0x63ac20]
test eax, eax
je 0x4be9da
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4be9da
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
push 0x61de78
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 [0x63ac20]
push str.runtime
push 0x60677c
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
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 0x61de78
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 [0x6357fc]
mov byte [esp + 0x2070], 2
call fcn.00458fc0
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 0x61de54
push edx
mov byte [esp + 0x206c], 3
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x63ac20]
add esp, 0xc
test eax, eax
je 0x4beb31
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4beb31
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
lea ecx, [esp + 0x1c]
call fcn.0041a9a0
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 [0x63ac20]
push str.runtime
push 0x60677c
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004ec710
mov edx, dword [0x63ac20]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0041a9a0
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 [0x6357fc]
mov byte [esp + 0x2070], 3
call fcn.00458fc0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2060], 2
call sub.MFC42.DLL_CString::CString
jmp 0x4bea49
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 0x4bea81