Function at 0x416ed0
Capabilities:
Check os version
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x4a82f3
push eax
mov eax, 0x10fc
mov dword fs:[0], esp
call fcn.004a7350
push ebx
push ebp
mov dword [esp + 0x64], ecx
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.004a6c5a
mov eax, dword [0x545f7c]
lea edx, [esp + 0x14]
xor ebx, ebx
mov ecx, dword [eax*4 + 0x4cf0b0]
mov dword [esp + 0x1114], ebx
push ecx
push 0x4cd9cc
push 0x4cd9c0
push edx
call fcn.004a6dda
mov esi, dword [esp + 0x1138]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1134]
add esp, 0x10
mov eax, dword [esi]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, edi
call fcn.004a6dc8
mov ebp, dword [esi]
lea ecx, [esp + 0x14]
inc ebp
mov dword [esi], ebp
mov edx, dword [0x545f7c]
mov eax, dword [edx*4 + 0x4cf0b0]
push eax
push 0x4cb1f8
push ecx
call fcn.004a6dda
mov edx, dword [edi + 0x20]
mov esi, dword [0x4b279c]
add esp, 0xc
push ebx
push ebx
push 0x1004
push edx
call esi
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, edi
call fcn.004a6dc8
mov edx, dword [edi + 0x20]
push ebx
push ebx
push 0x1004
push edx
call esi
push ebx
push ebx
push ebx
push ebx
push 0x545dc4
push eax
push 1
mov ecx, edi
call fcn.004a6dc8
mov eax, dword [edi + 0x20]
push ebx
push ebx
push 0x1004
push eax
call esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], ebx
call fcn.004a6c5a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1114], 1
call fcn.004a6c5a
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1114], 2
call fcn.004a6c5a
mov cl, byte [esp + 0x7f]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1114], 4
call fcn.004a6c5a
lea ecx, [esp + 0x48]
mov byte [esp + 0x1114], 5
call fcn.004a6c5a
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1114], 6
call fcn.004a6c5a
lea ecx, [esp + 0x50]
mov byte [esp + 0x1114], 7
call fcn.004a6c5a
lea ecx, [esp + 0x54]
mov byte [esp + 0x1114], 8
call fcn.004a6c5a
lea ecx, [esp + 0x58]
mov byte [esp + 0x1114], 9
call fcn.004a6c5a
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1114], 0xa
call fcn.004a6c5a
lea ecx, [esp + 0x60]
mov byte [esp + 0x1114], 0xb
call fcn.004a6c5a
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
mov byte [esp + 0x1114], 0xc
mov ebp, eax
mov edi, ecx
mov esi, eax
je 0x4170c9
push ebx
mov ecx, esi
call fcn.0041b310
add esi, 0x24
cmp esi, edi
jne 0x4170ba
push 0xf003f
push ebx
push ebx
mov dword [esp + 0x3c], ebp
call dword [0x4b204c]
mov ebp, eax
cmp ebp, ebx
je 0x4173d9
lea edx, [esp + 0x90]
lea eax, [esp + 0x88]
mov esi, dword [0x4b2050]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0xf4]
push 0x24
push edx
push 3
push 0x30
push ebp
call esi
call dword [0x4b2164]
cmp eax, 0xea
jne 0x4173d2
mov eax, dword [esp + 0x20]
add eax, 0x24
mov dword [esp + 0x20], eax
lea eax, [eax + eax*8]
shl eax, 2
push eax
call fcn.004a6d08
add esp, 4
cmp eax, ebx
mov dword [esp + 0x24], eax
je 0x4173d2
lea ecx, [esp + 0x90]
lea edx, [esp + 0x88]
push ecx
push edx
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x28]
push ecx
push edx
push eax
push 3
push 0x30
push ebp
call esi
cmp eax, 1
jne 0x4173c3
mov eax, dword [esp + 0x88]
xor ebx, ebx
test eax, eax
jbe 0x4173c3
mov eax, dword [esp + 0x24]
lea esi, [eax + 0xc]
mov ecx, dword [esp + 0x111c]
cmp dword [ecx], 1
je 0x4173c3
lea ecx, [esp + 0x44]
call fcn.004a6e82
lea ecx, [esp + 0x48]
call fcn.004a6e82
lea ecx, [esp + 0x4c]
call fcn.004a6e82
lea ecx, [esp + 0x50]
call fcn.004a6e82
lea ecx, [esp + 0x54]
call fcn.004a6e82
lea ecx, [esp + 0x58]
call fcn.004a6e82
lea ecx, [esp + 0x5c]
call fcn.004a6e82
lea ecx, [esp + 0x60]
call fcn.004a6e82
mov dword [esp + 0x64], 1
mov edx, dword [esi - 0xc]
push edx
lea eax, [esp + 0x48]
push 0x4cb1f8
push eax
call fcn.004a6dda
mov eax, dword [esi]
add esp, 0xc
cmp eax, 7
ja 0x41720b
test eax, eax
jne 0x417211
mov dword [esi], 8
mov eax, dword [esi]
dec eax
and eax, 7
mov dword [esi], eax
mov ecx, dword [0x545f7c]
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x48]
add eax, edx
mov eax, dword [eax*4 + 0x4cee90]
push eax
push 0x4cb1f8
push ecx
call fcn.004a6dda
mov edx, dword [esi - 0xc]
add esp, 0xc
push 1
push edx
push ebp
call dword [0x4b2054]
mov edi, eax
test edi, edi
je 0x41739b
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10c]
push eax
push 0x1000
push ecx
push edi
call dword [0x4b2010]
test eax, eax
je 0x417394
mov eax, dword [esp + 0x110]
mov byte [esp + 0x110b], 0
cmp eax, 4
mov byte [esp + 0x110a], 0
jbe 0x41729e
mov eax, 4
mov dword [esp + 0x110], eax
mov edx, dword [0x545f7c]
lea ecx, [edx + eax*2]
add eax, ecx
mov edx, dword [eax*4 + 0x4ceef0]
lea eax, [esp + 0x4c]
push edx
push 0x4cb1f8
push eax
call fcn.004a6dda
mov ecx, dword [esp + 0x124]
add esp, 0xc
lea edx, [esp + 0x10]
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
mov ecx, dword [esp + 0x78]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00418630
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x54]
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
mov ecx, dword [esp + 0x78]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call fcn.00418770
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.0040b780
mov eax, dword [esp + 0x18]
add esp, 8
lea ecx, [esp + 0x58]
push eax
push 0x4cb1f8
push ecx
call fcn.004a6dda
lea edx, [esp + 0x64]
push edx
call fcn.0040c0a0
add esp, 0x10
test eax, eax
jne 0x41734b
mov dword [esp + 0x64], eax
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10c]
push eax
push 0x1000
push ecx
push 1
push edi
call dword [0x4b200c]
test eax, eax
je 0x417394
mov edx, dword [esp + 0x10c]
lea eax, [esp + 0x50]
push edx
push 0x4cb1f8
push eax
mov byte [esp + 0x1117], 0
mov byte [esp + 0x1116], 0
call fcn.004a6dda
add esp, 0xc
push edi
call dword [0x4b2008]
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x44]
push ecx
push 1
push edx
lea ecx, [esp + 0x34]
call fcn.0041ae70
mov eax, dword [esp + 0x88]
inc ebx
add esi, 0x24
cmp ebx, eax
jb 0x41718a
mov eax, dword [esp + 0x24]
push eax
call fcn.004a6c66
add esp, 4
xor ebx, ebx
push ebp
call dword [0x4b2008]
lea ecx, [esp + 0x18]
call fcn.004a6c5a
lea ecx, [esp + 0x70]
mov byte [esp + 0x1114], 0xd
call fcn.004a6c5a
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1114], 0xe
call fcn.004401c0
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1114], 0xf
call fcn.004401c0
mov byte [esp + 0x1114], 0x10
call dword [0x4b2138]
mov esi, dword [0x4b2658]
and eax, 0xff
push 0x100000
mov dword [esp + 0xb8], eax
call esi
mov edi, eax
add esp, 4
cmp edi, ebx
mov dword [esp + 0x8c], edi
je 0x417b82
push 0x100000
call esi
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x68], esi
je 0x417b78
push 0x4cda2c
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0xb8]
push eax
push 0x4cda2c
call fcn.00440400
lea ecx, [esp + 0x98]
push ecx
push 0x20019
lea ecx, [esp + 0xc0]
call fcn.004402a0
push eax
lea ecx, [esp + 0xc4]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x417b6e
mov dword [esp + 0x78], ebx
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x417b55
mov edi, dword [esp + 0x8c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x98]
push ebx
push ebx
push ebx
push ebx
push 0x100000
push edi
push ebx
push eax
push ecx
push 0x20
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x417b5c
mov dword [esp + 0x24], edi
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x4174c9
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
mov eax, dword [edi + 0xc]
lea esi, [edi + 0x10]
shr eax, 1
push eax
push esi
call fcn.004a6e4c
push 0x4cda2c
mov byte [esp + 0x1118], 0x11
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0xa0]
push eax
push 0x4cda2c
call fcn.00440400
push 1
push 0x4cb224
lea ecx, [esp + 0xa8]
call fcn.00440420
mov ecx, dword [edi + 0xc]
shr ecx, 1
push ecx
push esi
lea ecx, [esp + 0xa8]
call fcn.00440420
lea ecx, [esp + 0x70]
xor edi, edi
xor ebp, ebp
call fcn.004a6e82
lea ecx, [esp + 0x10]
call fcn.004a6e82
lea edx, [esp + 0x38]
lea ecx, [esp + 0xa0]
push edx
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0xac]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x417b1c
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebx
push ebx
push 0x100000
push eax
push 1
push ebx
push ecx
push 0x21
call fcn.004301e0
add esp, 0x28
cmp al, 1
jne 0x41779d
mov esi, dword [esp + 0x68]
mov edx, dword [esp + 0x111c]
cmp dword [edx], 1
je 0x41779d
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x41776e
shr eax, 1
push eax
lea eax, [esi + 0x14]
push eax
lea ecx, [esp + 0x48]
call fcn.004a6e4c
mov ecx, dword [esp + 0x40]
push 0x4cda18
push ecx
mov byte [esp + 0x111c], 0x12
call dword [0x4b26a8]
add esp, 8
cmp eax, ebx
jne 0x4176a9
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x41775d
mov edx, dword [esi + 0xc]
add eax, esi
shr edx, 1
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.004a6e4c
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x1118], 0x13
call fcn.004183b0
cmp eax, 1
je 0x41777b
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0x10]
push ecx
push 0x4cb1f8
push edx
mov ebp, 1
call fcn.004a6dda
add esp, 0xc
mov byte [esp + 0x1114], 0x12
lea ecx, [esp + 0x74]
jmp 0x417758
mov eax, dword [esp + 0x40]
push 0x4cf6d4
push eax
call dword [0x4b26a8]
add esp, 8
cmp eax, ebx
jne 0x4176e9
mov eax, dword [esi + 8]
mov edi, 1
cmp eax, 0xffffffff
je 0x4176dc
mov ecx, dword [eax + esi]
mov dword [esp + 0x84], ecx
jmp 0x41775d
mov dword [esp + 0x84], 5
jmp 0x41775d
mov edx, dword [esp + 0x40]
push 0x4cf758
push edx
call dword [0x4b26a8]
add esp, 8
cmp eax, ebx
jne 0x41775d
cmp dword [esp + 0xb4], 6
je 0x41775d
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x41775d
mov ecx, dword [esi + 0xc]
add eax, esi
shr ecx, 1
push ecx
push eax
lea ecx, [esp + 0x9c]
call fcn.004a6e4c
mov edx, dword [esp + 0x94]
lea eax, [esp + 0x70]
push edx
push 0x4cb1f8
push eax
mov byte [esp + 0x1120], 0x14
call fcn.004a6dda
add esp, 0xc
mov byte [esp + 0x1114], 0x12
lea ecx, [esp + 0x94]
call fcn.004a6c6c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1114], 0x11
call fcn.004a6c6c
mov eax, dword [esi]
cmp eax, ebx
je 0x41779d
add esi, eax
jmp 0x4175f5
lea ecx, [esp + 0x74]
mov byte [esp + 0x1114], 0x12
call fcn.004a6c6c
lea ecx, [esp + 0x40]
mov byte [esp + 0x1114], 0x11
call fcn.004a6c6c
mov ecx, dword [esp + 0x38]
push ecx
call dword [0x4b2034]
cmp edi, 1
jne 0x417b1c
cmp ebp, edi
jne 0x417b1c
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x4177f3
mov edi, dword [0x4b2668]
mov eax, dword [esi]
mov edx, dword [esp + 0x3c]
push eax
push edx
call edi
add esp, 8
cmp eax, ebx
je 0x4177e9
mov eax, dword [esp + 0x30]
add esi, 0x24
cmp esi, eax
jne 0x4177cb
jmp 0x4177f3
cmp esi, dword [esp + 0x30]
jne 0x41792a
lea ecx, [esp + 0x44]
call fcn.004a6e82
lea ecx, [esp + 0x48]
call fcn.004a6e82
lea ecx, [esp + 0x4c]
call fcn.004a6e82
lea ecx, [esp + 0x50]
call fcn.004a6e82
lea ecx, [esp + 0x54]
call fcn.004a6e82
lea ecx, [esp + 0x58]
call fcn.004a6e82
lea ecx, [esp + 0x5c]
call fcn.004a6e82
lea ecx, [esp + 0x60]
call fcn.004a6e82
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push eax
push 0x4cb1f8
push ecx
mov dword [esp + 0x70], 1
call fcn.004a6dda
add esp, 0xc
mov dword [esp + 0x64], ebx
push 0xf003f
push ebx
push ebx
call dword [0x4b204c]
mov esi, eax
cmp esi, ebx
je 0x4178eb
mov edx, dword [esp + 0x3c]
push 5
push edx
push esi
call dword [0x4b2054]
mov edi, eax
cmp edi, ebx
je 0x4178e4
lea eax, [esp + 0xcc]
push eax
push edi
call dword [0x4b2004]
test eax, eax
je 0x4178dd
mov eax, dword [esp + 0xd0]
cmp eax, 7
ja 0x4178a8
cmp eax, ebx
jne 0x4178ad
mov eax, 8
mov ecx, dword [0x545f7c]
dec eax
and eax, 7
mov dword [esp + 0xd0], eax
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x48]
add eax, edx
mov eax, dword [eax*4 + 0x4cee90]
push eax
push 0x4cb1f8
push ecx
call fcn.004a6dda
add esp, 0xc
push edi
call dword [0x4b2008]
push esi
call dword [0x4b2008]
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
push 1
push eax
lea ecx, [esp + 0x34]
call fcn.0041ae70
mov esi, dword [esp + 0x2c]
cmp esi, ebx
jne 0x41790c
xor edx, edx
jmp 0x417923
mov ecx, dword [esp + 0x30]
mov eax, 0x38e38e39
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea edx, [edx + edx*8]
lea esi, [esi + edx*4 - 0x24]
lea ecx, [esp + 0x18]
call fcn.004a6e82
push 0x4cfa2c
call dword [0x4b2660]
add esp, 4
lea ecx, [esp + 0xa0]
push eax
push 0x4cfa2c
call fcn.00440420
lea eax, [esp + 0x38]
lea ecx, [esp + 0xa0]
push eax
push 0x20019
call fcn.004402a0
push eax
lea ecx, [esp + 0xac]
call fcn.004402b0
push eax
call fcn.00430160
add esp, 0x10
cmp al, 1
jne 0x4179e8
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x38]
push 0x100000
push edi
push 0x4cfa14
push 1
push ecx
call fcn.00430460
add esp, 0x14
cmp al, 1
jne 0x4179dd
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4179dd
mov ecx, dword [edi + 0xc]
add eax, ecx
mov ecx, edi
mov byte [eax + edi], 0
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
add edx, edi
mov byte [edx + eax + 1], 0
mov ebp, dword [edi + 8]
add ecx, ebp
lea edx, [esp + 0x18]
push ecx
push 0x4cb1f8
push edx
call fcn.004a6dda
add esp, 0xc
mov eax, dword [esp + 0x38]
push eax
call dword [0x4b2034]
mov eax, dword [esp + 0x84]
cmp eax, 4
jbe 0x417a00
mov eax, 4
mov dword [esp + 0x84], eax
mov ecx, dword [0x545f7c]
lea edx, [ecx + eax*2]
lea ecx, [esi + 8]
add eax, edx
mov eax, dword [eax*4 + 0x4ceef0]
push eax
push 0x4cb1f8
push ecx
call fcn.004a6dda
mov eax, dword [esp + 0x7c]
add esp, 0xc
cmp dword [eax - 8], ebx
je 0x417a3f
push eax
lea edx, [esi + 0xc]
push 0x4cb1f8
push edx
call fcn.004a6dda
add esp, 0xc
mov ebp, dword [esp + 0x6c]
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.00418630
mov ecx, dword [esp + 0x10]
lea edi, [esi + 0x10]
push ecx
push 0x4cb1f8
push edi
call fcn.004a6dda
add esp, 0xc
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00418770
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
push ecx
call fcn.0040b780
mov edx, dword [esp + 0x24]
add esp, 8
push edx
push 0x4cb1f8
push edi
call fcn.004a6dda
lea eax, [esp + 0x28]
push eax
call fcn.0040c0a0
add esp, 0x10
test eax, eax
jne 0x417aa8
mov dword [esp + 0x64], ebx
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00418630
mov edx, dword [esp + 0x18]
lea eax, [esi + 0x18]
push edx
push 0x4cb1f8
push eax
call fcn.004a6dda
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.00418770
lea edx, [esp + 0x1c]
lea eax, [esp + 0x18]
push edx
push eax
call fcn.0040b780
mov ecx, dword [esp + 0x24]
add esp, 8
add esi, 0x1c
push ecx
push 0x4cb1f8
push esi
call fcn.004a6dda
mov edx, dword [esp + 0x24]
add esp, 0xc
cmp dword [edx - 8], ebx
je 0x417b1c
lea eax, [esp + 0x1c]
push eax
call fcn.0040c0a0
add esp, 4
test eax, eax
jne 0x417b1c
mov dword [esp + 0x64], ebx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x78]
inc ecx
mov byte [esp + 0x1114], 0x10
mov eax, dword [esi]
mov dword [esp + 0x78], ecx
cmp eax, ebx
lea ecx, [esp + 0x3c]
je 0x417b4b
call fcn.004a6c6c
add esi, dword [esi]
mov dword [esp + 0x24], esi
jmp 0x41750e
call fcn.004a6c6c
jmp 0x4174c9
mov edi, dword [esp + 0x8c]
mov ecx, dword [esp + 0x98]
push ecx
call dword [0x4b2034]
mov esi, dword [esp + 0x68]
push esi
call dword [0x4b2654]
add esp, 4
push edi
call dword [0x4b2654]
add esp, 4
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
cmp esi, eax
je 0x417c17
mov edi, dword [esp + 0x1120]
add esi, 0x1c
cmp edi, 1
jne 0x417ba8
cmp dword [esi + 4], ebx
je 0x417bac
jmp 0x417c09
cmp edi, ebx
jne 0x417c09
mov edx, dword [esi]
mov eax, dword [esi - 4]
mov ecx, dword [esi - 8]
push edx
mov edx, dword [esi - 0xc]
push eax
mov eax, dword [esi - 0x14]
push ecx
mov ecx, dword [esi - 0x18]
push edx
mov edx, dword [esi - 0x1c]
push eax
push ecx
push edx
push 0x4cd9cc
lea eax, [esp + 0x34]
push 0x4cf9cc
push eax
call fcn.004a6dda
mov ebp, dword [esp + 0x114c]
add esp, 0x28
mov ecx, dword [ebp + 0x20]
push ebx
push ebx
push 0x1004
push ecx
call dword [0x4b279c]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push edx
push eax
push 1
mov ecx, ebp
call fcn.004a6dc8
mov ecx, dword [esp + 0x30]
add esi, 0x24
lea eax, [esi - 0x1c]
cmp eax, ecx
jne 0x417b9c
mov esi, dword [esp + 0x1124]
mov edi, dword [0x4b279c]
push ebx
push ebx
mov ecx, dword [esi + 0x20]
push 0x1004
push ecx
call edi
cmp dword [esp + 0x80], eax
jne 0x417c7f
mov edx, dword [0x545f7c]
lea ecx, [esp + 0x14]
mov eax, dword [edx*4 + 0x4cbb78]
push eax
push 0x4cd9cc
push 0x4cf9c0
push ecx
call fcn.004a6dda
mov edx, dword [esi + 0x20]
add esp, 0x10
push ebx
push ebx
push 0x1004
push edx
call edi
mov ecx, dword [esp + 0x14]
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
push 1
mov ecx, esi
call fcn.004a6dc8
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1114], 0xf
call fcn.00440270
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1114], 0xe
call fcn.00440270
lea ecx, [esp + 0x70]
mov byte [esp + 0x1114], 0xd
call fcn.004a6c6c
lea ecx, [esp + 0x18]
mov byte [esp + 0x1114], 0xc
call fcn.004a6c6c
lea ecx, [esp + 0x60]
mov byte [esp + 0x1114], 0x1b
call fcn.004a6c6c
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1114], 0x1a
call fcn.004a6c6c
lea ecx, [esp + 0x58]
mov byte [esp + 0x1114], 0x19
call fcn.004a6c6c
lea ecx, [esp + 0x54]
mov byte [esp + 0x1114], 0x18
call fcn.004a6c6c
lea ecx, [esp + 0x50]
mov byte [esp + 0x1114], 0x17
call fcn.004a6c6c
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1114], 0x16
call fcn.004a6c6c
lea ecx, [esp + 0x48]
mov byte [esp + 0x1114], 0x15
call fcn.004a6c6c
lea ecx, [esp + 0x44]
mov byte [esp + 0x1114], 4
call fcn.004a6c6c
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov dword [esp + 0x80], esi
je 0x417dfe
mov bl, 0x1c
lea ecx, [esi + 0x1c]
mov byte [esp + 0x1114], 0x22
call fcn.004a6c6c
lea ecx, [esi + 0x18]
mov byte [esp + 0x1114], 0x21
call fcn.004a6c6c
lea ecx, [esi + 0x14]
mov byte [esp + 0x1114], 0x20
call fcn.004a6c6c
lea ecx, [esi + 0x10]
mov byte [esp + 0x1114], 0x1f
call fcn.004a6c6c
lea ecx, [esi + 0xc]
mov byte [esp + 0x1114], 0x1e
call fcn.004a6c6c
lea ecx, [esi + 8]
mov byte [esp + 0x1114], 0x1d
call fcn.004a6c6c
lea ecx, [esi + 4]
mov byte [esp + 0x1114], bl
call fcn.004a6c6c
mov ecx, esi
mov byte [esp + 0x1114], 3
call fcn.004a6c6c
add esi, 0x24
cmp esi, edi
mov dword [esp + 0x80], esi
jne 0x417d6a
mov esi, dword [esp + 0x2c]
push esi
call fcn.004a6c66
xor eax, eax
add esp, 4
lea ecx, [esp + 0x9c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov byte [esp + 0x1114], 2
call fcn.004a6c6c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1114], 1
call fcn.004a6c6c
lea ecx, [esp + 0x10]
mov byte [esp + 0x1114], 0
call fcn.004a6c6c
lea ecx, [esp + 0x14]
mov dword [esp + 0x1114], 0xffffffff
call fcn.004a6c6c
mov ecx, dword [esp + 0x110c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1108
ret 0x10