Function at 0x442f59
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4bc004
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
mov eax, dword [0x509334]
xor eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x258], eax
mov eax, dword [esi]
push edi
call dword [eax + 4]
xor ebx, ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov edi, 0xf
mov dword [esp + 0x268], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov ecx, dword [esi + 0x30]
mov byte [esp + 0x268], 1
call fcn.004435c0
dec eax
cmp eax, 0x50
ja case.0x442fac.2
movzx ecx, byte [eax + 0x443484]
jmp dword [ecx*4 + 0x443464]
push str.Half_Life
jmp 0x442fe2
push str.Counter_Strike
jmp 0x442fe2
push str.Team_Fortress_Classic
jmp 0x442fe2
push str.Day_of_Defeat
jmp 0x442fe2
push str.Deathmatch_Classic
jmp 0x442fe2
push str.Ricochet
jmp 0x442fe2
push str.Condition_Zero
lea ecx, [esp + 0x20]
call fcn.00406ba0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xc4]
push str.reslists_
push eax
call fcn.00407fc0
push str.exclude.lst
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x280], 2
call fcn.00415180
add esp, 0x18
mov eax, dword [esp + 0xd8]
mov ebp, 0x10
cmp eax, ebp
mov byte [esp + 0x268], 4
jb 0x443048
mov edx, dword [esp + 0xc4]
push edx
call fcn.0049db86
add esp, 4
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx]
lea edx, [esp + 0xa4]
push edx
lea edx, [esp + 0x88]
push edx
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov byte [esp + 0xcc], bl
call dword [eax + 8]
lea ecx, [esp + 0x84]
mov byte [esp + 0x268], 5
call fcn.004449a0
mov ecx, eax
call fcn.004449b0
test al, al
je 0x443325
lea ecx, [esp + 0x84]
call fcn.004449a0
mov ecx, eax
call fcn.00444b30
test al, al
je 0x443325
lea ecx, [esp + 0x84]
call fcn.004449a0
mov ecx, eax
call fcn.00444fc0
push eax
lea ecx, [esp + 0x7c]
call fcn.00409580
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x268], 7
call fcn.004449a0
mov ecx, eax
call fcn.00444fc0
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x3c]
mov dword [esp + 0x18], edi
call fcn.00441e50
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
lea ecx, [esp + 0x94]
call fcn.004449a0
mov ecx, eax
call fcn.00445070
push eax
lea ecx, [esi + 0x20]
call fcn.0042f040
lea ecx, [esp + 0x84]
call fcn.004449a0
mov ecx, eax
call fcn.00444fc0
cmp dword [esp + 0x74], eax
je 0x44319b
push str.Failed_to_read_exclude_list
lea ecx, [esp + 0xe0]
call fcn.00407a20
push ebx
push ebx
push ebx
lea ecx, [esp + 0xe8]
push ecx
lea ecx, [esp + 0x218]
mov byte [esp + 0x278], 8
call fcn.00431ee0
push 0x4ef4e0
lea edx, [esp + 0x20c]
push edx
call fcn.0049e394
mov ebp, dword [esp + 0x78]
push ebp
lea eax, [esp + 0x14]
push eax
push 0x78
lea ecx, [esp + 0x124]
push edi
push ecx
mov dword [esp + 0x24], ebx
call fcn.00441220
add esp, 0x14
cmp al, bl
je 0x4432ed
lea eax, [esp + 0x118]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4431d0
sub eax, edx
mov dword [esp + 0x14], eax
je 0x4432cc
cmp byte [esp + 0x118], 0x23
je 0x4432cc
lea edx, [esp + 0x190]
push edx
lea eax, [esp + 0x11c]
push 0x4cdfd0
push eax
call fcn.004a1ad2
add esp, 0xc
lea ecx, [esp + 0x190]
push ecx
lea ecx, [esp + 0x5c]
call fcn.00407a20
mov ecx, dword [esi + 0x30]
mov edx, dword [ecx]
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x270], 9
call dword [edx + 8]
cmp dword [esp + 0x70], 0x10
mov byte [esp + 0x268], 0xb
jb 0x443258
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0049db86
add esp, 4
lea ecx, [esp + 0xf8]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.004449a0
mov ecx, eax
call fcn.004449b0
test al, al
je 0x4432b8
lea edx, [esp + 0x190]
push edx
lea ecx, [esp + 0xe0]
call fcn.00407a20
lea eax, [esp + 0xdc]
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x26c], 0xc
call fcn.00410920
lea ecx, [esp + 0xdc]
call fcn.00426bf0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x268], 7
call fcn.00445200
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x78
lea edx, [esp + 0x124]
push edi
push edx
call fcn.00441220
add esp, 0x14
cmp al, bl
jne 0x4431c4
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4432fe
push eax
call fcn.0049db86
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x268], 5
call fcn.00402270
mov ebp, 0x10
mov edi, 0xf
mov eax, 0x4c505b
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x443340
sub eax, edx
push eax
push 0x4c505b
lea ecx, [esp + 0x60]
call fcn.00406650
mov ecx, dword [esp + 0x270]
lea eax, [esp + 0x48]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
mov ecx, esi
mov byte [esp + 0x274], 0xd
call fcn.00442c20
cmp dword [esp + 0x70], ebp
mov byte [esp + 0x268], 5
jb 0x443394
mov eax, dword [esp + 0x5c]
push eax
call fcn.0049db86
add esp, 4
push 0x4c70f8
call fcn.004a0f38
mov edx, dword [esi]
add esp, 4
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x84]
mov byte [esp + 0x268], 4
call fcn.00445200
cmp dword [esp + 0xbc], ebp
jb 0x4433d5
mov eax, dword [esp + 0xa8]
push eax
call fcn.0049db86
add esp, 4
cmp dword [esp + 0x34], ebp
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
jb 0x4433fd
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0049db86
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
je 0x443433
mov edx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x4c]
push ecx
push edx
push eax
call fcn.004070a0
mov eax, dword [esp + 0x5c]
push eax
call fcn.0049db86
add esp, 0x14
mov ecx, dword [esp + 0x260]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x258]
xor ecx, dword [esp + 0x268]
pop esi
pop ebp
pop ebx
call fcn.0049e993
add esp, 0x25c
ret 4