Function at 0x437df0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x557ad2
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0x1dc]
mov dword fs:[0], eax
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x1e4], ecx
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x30], esp
cmp eax, ecx
je 0x437e4a
inc dword [eax + 4]
mov ebp, dword [esp + 0x1f0]
add ebp, 0x4d18
push ebp
call fcn.0049af70
mov edi, eax
mov ebx, dword [edi + 8]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
cmp ebx, 6
je 0x438c8c
cmp ebx, 7
je 0x438c8c
cmp ebx, 9
je 0x438c8c
cmp ebx, 0x2f
je 0x438c8c
test esi, esi
je 0x438175
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
test eax, eax
je 0x438017
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
mov ecx, edi
call edx
test eax, eax
je 0x438175
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov ebx, 1
mov dword [esp + 0x2c], esp
test eax, eax
je 0x437edb
add dword [eax + 4], ebx
lea edx, [esp + 0x28]
push edx
mov edx, ebp
call fcn.0049e710
mov edi, dword [eax]
lea esi, [esp + 0x24]
call fcn.00404170
test edi, edi
jne 0x437f82
mov edx, dword [esp + 0x1f0]
mov esi, ebx
mov ecx, esi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x437f1c
add dword [eax + 4], esi
lea eax, [esp + 0x28]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x437f69
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x437f4c
add dword [eax + 4], esi
lea ecx, [esp + 0x24]
push ecx
mov edx, ebp
call fcn.0049e710
mov edi, dword [eax]
lea esi, [esp + 0x20]
call fcn.00404170
test edi, edi
je 0x437f69
xor ebx, ebx
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], 0
call fcn.00404170
test ebx, ebx
jne 0x438175
lea edx, [esp + 0xac]
push edx
call fcn.00460af0
push 0x576870
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 2
call fcn.004050b0
push 0x576918
lea ecx, [esp + 0x128]
call fcn.004050b0
lea ecx, [esp + 0xac]
call fcn.004f7ada
lea ecx, [esp + 0xac]
cmp eax, 1
je 0x437ffa
mov byte [esp + 0x1e4], 0
call fcn.00460c00
lea esi, [esp + 0x1f0]
mov dword [esp + 0x1e4], 0xffffffff
call fcn.00404170
jmp 0x438cc9
mov eax, dword [esp + 0x128]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x1e4], 0
call fcn.00460c00
jmp 0x438175
cmp ebx, 8
jne 0x438175
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x2c], esp
lea edi, [ebx - 7]
test eax, eax
je 0x438041
add dword [eax + 4], edi
lea edx, [esp + 0x1c]
push edx
mov edx, ebp
call fcn.0049e710
mov bl, 3
mov byte [esp + 0x1e4], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x438164
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x438076
add dword [eax + 4], edi
push ebp
call fcn.0049af70
mov eax, dword [eax + 8]
cmp eax, 0xb
je 0x438089
cmp eax, 0xa
jne 0x4380dd
mov edx, dword [esp + 0x18]
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x4380a3
add dword [eax + 4], edi
lea eax, [esp + 0x28]
push eax
mov edx, ebp
call fcn.0049ea60
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 4
call fcn.00403400
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], bl
call fcn.00404170
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x438062
jmp 0x438164
lea ecx, [esp + 0xac]
push ecx
call fcn.00460af0
push 0x576988
lea ecx, [esp + 0x124]
mov byte [esp + 0x1e8], 5
call fcn.004050b0
push 0x576a40
lea ecx, [esp + 0x128]
call fcn.004050b0
lea ecx, [esp + 0xac]
call fcn.004f7ada
lea ecx, [esp + 0xac]
cmp eax, edi
je 0x43814d
mov byte [esp + 0x1e4], bl
call fcn.00460c00
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.00404170
jmp 0x437fde
mov edx, dword [esp + 0x128]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x1e4], bl
call fcn.00460c00
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.00404170
mov ebx, dword [esp + 0x1f4]
mov edi, 1
cmp ebx, 0xffffffff
jne 0x4381a0
mov eax, dword [esp + 0x1ec]
add dword [eax + 0x4db4], edi
mov ebx, dword [eax + 0x4db4]
mov dword [esp + 0x1f4], ebx
mov esi, dword [esp + 0x30]
cmp esi, 8
jne 0x438623
cmp dword [esp + 0x1c], 0
je 0x438553
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x30], esp
test eax, eax
je 0x4381d6
add dword [eax + 4], edi
lea edx, [esp + 0x1c]
push edx
mov edx, ebp
call fcn.0049e710
mov byte [esp + 0x1e4], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43831a
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x43820a
add dword [eax + 4], edi
push ebp
call fcn.0049af70
mov eax, dword [eax + 8]
cmp eax, 0xb
je 0x438221
cmp eax, 0xa
jne 0x4382c6
mov eax, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x28], edi
mov ebx, 1
test eax, eax
je 0x43823b
add dword [eax + 4], ebx
mov eax, dword [esp + 0x18]
mov ecx, ebx
push ecx
mov byte [esp + 0x1e8], 7
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438259
add dword [eax + 4], ebx
lea eax, [esp + 0x34]
push eax
mov edx, ebp
call fcn.0049ea60
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 8
call fcn.00403400
lea esi, [esp + 0x30]
mov byte [esp + 0x1e4], 7
call fcn.00404170
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov dword [eax], edi
test edi, edi
je 0x438297
add dword [edi + 4], ebx
mov esi, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1f8]
add esi, 0x4cbc
call fcn.00497320
lea esi, [esp + 0x28]
mov byte [esp + 0x1e4], 6
call fcn.00404170
mov edi, 1
mov edx, dword [esp + 0x18]
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4382e0
add dword [eax + 4], edi
lea eax, [esp + 0x30]
push eax
mov edx, ebp
call fcn.0049ea60
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 9
call fcn.00403400
lea esi, [esp + 0x2c]
mov byte [esp + 0x1e4], 6
call fcn.00404170
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4381f6
lea esi, [esp + 0x34]
call fcn.0040f3c0
lea esi, [esp + 0x5c]
mov byte [esp + 0x1e4], 0xa
call fcn.0040f3c0
push ecx
mov byte [esp + 0x1e8], 0xb
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43835a
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
lea edx, [esp + 0x60]
add esi, 0x4cbc
push edx
mov ecx, esi
call fcn.00497db0
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x38]
call fcn.00421c60
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x1e8], 0xa
call fcn.004050f0
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4383b1
add dword [eax + 4], edi
lea eax, [esp + 0x28]
push eax
call fcn.0049e920
mov ecx, 2
mov byte [esp + 0x1e4], 0xc
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4383e6
add dword [eax + 4], edi
lea eax, [esp + 0x20]
push eax
mov edx, ebp
call fcn.0049ea60
mov ecx, edi
mov bl, 0xd
mov byte [esp + 0x1e4], bl
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43841b
add dword [eax + 4], edi
lea eax, [esp + 0x24]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 0xe
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x43847f
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43844b
add dword [eax + 4], edi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 9
jne 0x43847f
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43846f
add dword [eax + 4], edi
mov ebp, dword [esp + 0x1f8]
mov edx, ebp
call fcn.00497320
jmp 0x438486
mov ebp, dword [esp + 0x1f4]
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4384a4
add dword [eax + 4], edi
mov edx, ebp
call fcn.00497320
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x40]
test eax, 0xfffffffc
je 0x4384f9
push ebp
push 0
push ecx
mov ecx, dword [esp + 0x28]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], esp
test eax, eax
je 0x4384d5
add dword [eax + 4], edi
mov edx, dword [esp + 0x30]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x24], esp
test eax, eax
je 0x4384ed
add dword [eax + 4], edi
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.004981b0
lea esi, [esp + 0x20]
mov byte [esp + 0x1e4], bl
call fcn.00404170
lea esi, [esp + 0x1c]
mov byte [esp + 0x1e4], 0xc
call fcn.00404170
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], 0xa
call fcn.00404170
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x1e8], 6
call fcn.004050f0
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.00404170
jmp 0x438c67
mov edx, dword [esp + 0x1f0]
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438573
add dword [eax + 4], edi
lea eax, [esp + 0x24]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 0xf
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x4385db
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4385a3
add dword [eax + 4], edi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 9
jne 0x4385db
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4385c7
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
add esi, 0x4cbc
mov edx, ebx
call fcn.00497320
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4385f9
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
add esi, 0x4cbc
mov edx, ebx
call fcn.00497320
lea esi, [esp + 0x20]
mov byte [esp + 0x1e4], 0
call fcn.00404170
jmp 0x438c67
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
mov edx, dword [eax + 0x28]
call edx
test eax, eax
je 0x438b5f
mov edx, dword [esp + 0x1f0]
cmp dword [esp + 0x1c], 0
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
je 0x4389fe
test eax, eax
je 0x438661
add dword [eax + 4], edi
lea eax, [esp + 0x1c]
push eax
mov edx, ebp
call fcn.0049ea60
lea esi, [esp + 0x5c]
mov byte [esp + 0x1e4], 0x10
call fcn.0040f3c0
lea esi, [esp + 0x84]
mov byte [esp + 0x1e4], 0x11
call fcn.0040f3c0
push ecx
mov byte [esp + 0x1e8], 0x12
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4386b8
add dword [eax + 4], edi
mov edi, dword [esp + 0x1f0]
lea edx, [esp + 0x88]
add edi, 0x4cbc
push edx
mov ecx, edi
call fcn.00497db0
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x60]
call fcn.00421c60
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x1e8], 0x11
call fcn.004050f0
lea esi, [esp + 0x34]
call fcn.0040f3c0
mov byte [esp + 0x1e4], 0x13
cmp dword [esp + 0x18], 0
je 0x438773
lea esi, [esp + 0x84]
call fcn.0040f3c0
mov byte [esp + 0x1e4], 0x14
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43873e
inc dword [eax + 4]
lea eax, [esp + 0x88]
push eax
mov ecx, edi
call fcn.00497db0
lea ecx, [esp + 0x84]
push ecx
lea eax, [esp + 0x38]
call fcn.00421c60
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x1e8], 0x13
call fcn.004050f0
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438791
inc dword [eax + 4]
lea edx, [esp + 0x20]
push edx
call fcn.0049e920
mov ecx, 2
mov byte [esp + 0x1e4], 0x15
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4387c6
inc dword [eax + 4]
lea eax, [esp + 0x28]
push eax
mov edx, ebp
call fcn.0049ea60
mov bl, 0x16
mov byte [esp + 0x1e4], bl
mov eax, dword [esp + 0x18]
mov esi, 1
test eax, eax
je 0x4388cc
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438800
add dword [eax + 4], esi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 6
jne 0x4388cc
mov edx, dword [esp + 0x18]
mov ecx, esi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43882a
add dword [eax + 4], esi
lea eax, [esp + 0x24]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 0x17
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x438891
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43885a
add dword [eax + 4], esi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 7
jne 0x438891
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], esp
test eax, eax
je 0x43887e
add dword [eax + 4], esi
mov edx, dword [esp + 0x1f8]
mov esi, edi
call fcn.00497320
mov esi, 1
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4388a9
add dword [eax + 4], esi
mov edx, dword [esp + 0x1f8]
mov esi, edi
call fcn.00497320
lea esi, [esp + 0x20]
mov byte [esp + 0x1e4], bl
call fcn.00404170
mov esi, 1
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x4388ea
add dword [eax + 4], esi
mov ebx, dword [esp + 0x1f8]
mov edx, ebx
mov esi, edi
call fcn.00497320
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x40]
mov esi, 1
test edx, 0xfffffffc
je 0x43894e
push ebx
push 0
push ecx
mov ecx, dword [esp + 0x30]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], esp
test eax, eax
je 0x43892a
add dword [eax + 4], esi
mov edx, dword [esp + 0x28]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], esp
test eax, eax
je 0x438942
add dword [eax + 4], esi
lea eax, [esp + 0x44]
push eax
mov ecx, edi
call fcn.004981b0
mov ecx, dword [esp + 0x6c]
sub ecx, dword [esp + 0x68]
test ecx, 0xfffffffc
je 0x43899d
mov edx, dword [esp + 0x24]
push ebx
push 0
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], esp
test eax, eax
je 0x438979
add dword [eax + 4], esi
push ecx
mov ecx, dword [esp + 0x2c]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], esp
test eax, eax
je 0x438991
add dword [eax + 4], esi
lea edx, [esp + 0x6c]
push edx
mov ecx, edi
call fcn.004981b0
lea esi, [esp + 0x24]
mov byte [esp + 0x1e4], 0x15
call fcn.00404170
lea esi, [esp + 0x1c]
mov byte [esp + 0x1e4], 0x13
call fcn.00404170
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x1e8], 0x11
call fcn.004050f0
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x1e8], 0x10
call fcn.004050f0
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.00404170
mov edi, 1
jmp 0x438c67
test eax, eax
je 0x438a05
add dword [eax + 4], edi
lea eax, [esp + 0x1c]
push eax
mov edx, ebp
call fcn.0049ea60
mov bl, 0x18
mov byte [esp + 0x1e4], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x438b12
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438a3a
add dword [eax + 4], edi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 6
jne 0x438b12
mov edx, dword [esp + 0x18]
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438a64
add dword [eax + 4], edi
lea eax, [esp + 0x20]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 0x19
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x438ad1
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438a94
add dword [eax + 4], edi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 7
jne 0x438ad1
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438ab8
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1f8]
add esi, 0x4cbc
call fcn.00497320
mov edx, dword [esp + 0x18]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438ae9
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1f8]
add esi, 0x4cbc
call fcn.00497320
lea esi, [esp + 0x1c]
mov byte [esp + 0x1e4], bl
call fcn.00404170
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438b30
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1f8]
add esi, 0x4cbc
call fcn.00497320
lea esi, [esp + 0x18]
mov byte [esp + 0x1e4], 0
call fcn.00404170
jmp 0x438c67
cmp esi, 0x2e
jne 0x438c35
mov edx, dword [esp + 0x1f0]
mov ecx, edi
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438b88
add dword [eax + 4], edi
lea eax, [esp + 0x20]
push eax
mov edx, ebp
call fcn.0049ea60
mov byte [esp + 0x1e4], 0x1a
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x438bf0
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438bb8
add dword [eax + 4], edi
push ebp
call fcn.0049af70
cmp dword [eax + 8], 0x2f
jne 0x438bf0
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438bdc
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
add esi, 0x4cbc
mov edx, ebx
call fcn.00497320
mov edx, dword [esp + 0x1f0]
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438c0e
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
add esi, 0x4cbc
mov edx, ebx
call fcn.00497320
lea esi, [esp + 0x1c]
mov byte [esp + 0x1e4], 0
call fcn.00404170
jmp 0x438c67
push ecx
mov ecx, dword [esp + 0x1f4]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x1f4]
mov dword [esp + 0x18], esp
test eax, eax
je 0x438c53
add dword [eax + 4], edi
mov esi, dword [esp + 0x1f0]
add esi, 0x4cbc
mov edx, ebx
call fcn.00497320
mov edx, dword [esp + 0x1ec]
lea esi, [esp + 0x1f0]
mov dword [edx + 0x74], edi
mov dword [esp + 0x1e4], 0xffffffff
call fcn.00404170
mov eax, edi
jmp 0x438ccb
test esi, esi
je 0x438c9e
push 0
push 0
push 0x5767e8
call fcn.004f030b
mov dword [esp + 0x1e4], 0xffffffff
mov eax, dword [esp + 0x1f0]
test eax, eax
je 0x438cc9
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], 0
jg 0x438cc9
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
xor eax, eax
mov ecx, dword [esp + 0x1dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d4
ret 0xc