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

Disassembly:
push 0xffffffffffffffff
push 0x59f8d9
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x1d4]
cmp byte [ebx + 8], 6
je 0x4176d1
xor eax, eax
jmp 0x418901
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x4176eb
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
mov edi, dword [eax]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], 0
jmp 0x4176f4
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], 1
mov dword [esp + 0x34], edi
jmp 0x417700
movsx eax, byte [ebx + 8]
add eax, 0xfffffffa
cmp eax, 1
ja 0x41771d
mov eax, dword [ebx]
test eax, eax
je 0x41771d
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov esi, ecx
xor cl, cl
jmp 0x417723
xor eax, eax
xor esi, esi
mov cl, 1
cmp byte [esp + 0x3c], 0
jne 0x41773e
test edi, edi
je 0x417732
cmp edi, eax
je 0x417737
call fcn.004f825e
cmp dword [esp + 0x38], esi
sete cl
test cl, cl
jne 0x4188fc
lea eax, [esp + 0x10c]
push eax
lea ecx, [esp + 0x38]
call fcn.004ac4f0
mov dword [esp + 0x1c8], 0
cmp byte [esp + 0x114], 1
lea ecx, [esp + 0x10c]
je 0x417788
mov dword [esp + 0x1c8], 0xffffffff
call fcn.004acb90
jmp 0x417700
call fcn.004acdf0
mov ecx, dword [esp + 0xe4]
and ecx, 0xffffff04
or ecx, 0x104
test byte [0x660d7c], 1
mov ebp, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], 0
jne 0x4177df
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call eax
mov dword [esp + 0xdc], eax
lea ecx, [esp + 0xdc]
push ecx
push ecx
push ebp
push ebx
mov byte [esp + 0x1d8], 1
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, 0x5d93d4
lea esi, [esp + 0x120]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 2
call fcn.004accc0
mov byte [esp + 0x1c8], 3
cmp dword [eax + 0x18], 0x10
jb 0x41784e
mov eax, dword [eax + 4]
jmp 0x417851
add eax, 4
push eax
lea edx, [esp + 0x60]
push edx
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x11c
mov byte [esp + 0x1c8], 4
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4178cb
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4178b9
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4178b9
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4178ae
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
mov ebp, dword [esp + 0x14]
jmp 0x4178c4
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov ebx, dword [esp + 0x1d4]
mov byte [esp + 0x1c8], 3
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4178f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], 0x10
jb 0x417907
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x11c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 1
call fcn.004acb90
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0x104]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x104], edx
mov dword [esp + 0x108], esi
jne 0x41798a
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0xfc], eax
lea eax, [esp + 0xfc]
push eax
push ecx
push ebp
push ebx
mov byte [esp + 0x1d8], 5
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.pkgname
lea esi, [esp + 0x1b0]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 6
call fcn.004accc0
mov byte [esp + 0x1c8], 7
cmp dword [eax + 0x18], 0x10
jb 0x4179f9
mov eax, dword [eax + 4]
jmp 0x4179fc
add eax, 4
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004ea33e
add esp, 8
mov ebp, dword [esp + 0x1d0]
add ebp, 0x118
mov byte [esp + 0x1c8], 8
mov ecx, dword [eax]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x417a6d
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x417a62
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417a62
call fcn.004073f0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x417a5a
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [ebp], ebx
jmp 0x417a6d
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, ebp
call fcn.004072f0
mov byte [esp + 0x1c8], 7
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x417aad
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 5
call fcn.004acb90
lea ecx, [esp + 0xfc]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0xf4]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0xf4], edx
mov dword [esp + 0xf8], esi
jne 0x417b30
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0xec], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0xec]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 9
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.version
lea esi, [esp + 0x140]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0xa
call fcn.004accc0
mov byte [esp + 0x1c8], 0xb
cmp dword [eax + 0x18], ebx
jb 0x417ba9
mov eax, dword [eax + 4]
jmp 0x417bac
add eax, 4
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x120
mov byte [esp + 0x1c8], 0xc
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x417c1a
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417c0f
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417c0f
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417c08
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x417c1a
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0xb
mov eax, dword [esp + 0x68]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417c42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x417c5a
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x13c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 9
call fcn.004acb90
lea ecx, [esp + 0xec]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0xa4]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], esi
jne 0x417cdd
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0x9c], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0x9c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0xd
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, 0x5d93e8
lea esi, [esp + 0x180]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0xe
call fcn.004accc0
mov byte [esp + 0x1c8], 0xf
cmp dword [eax + 0x18], ebx
jb 0x417d56
mov eax, dword [eax + 4]
jmp 0x417d59
add eax, 4
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x12c
mov byte [esp + 0x1c8], 0x10
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x417dc7
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417dbc
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417dbc
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417db5
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x417dc7
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0xf
mov eax, dword [esp + 0x64]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417def
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x417e07
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x17c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0xd
call fcn.004acb90
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0x74]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], esi
jne 0x417e81
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0x6c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x11
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.name
lea esi, [esp + 0x160]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x12
call fcn.004accc0
mov byte [esp + 0x1c8], 0x13
cmp dword [eax + 0x18], ebx
jb 0x417ef4
mov eax, dword [eax + 4]
jmp 0x417ef7
add eax, 4
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x134
mov byte [esp + 0x1c8], 0x14
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x417f65
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x417f5a
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x417f5a
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x417f53
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x417f65
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x13
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417f8d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x417fa5
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x15c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x11
call fcn.004acb90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0xc4]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], esi
jne 0x418025
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0xbc], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0xbc]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x15
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.size
lea esi, [esp + 0x1a0]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x16
call fcn.004accc0
mov byte [esp + 0x1c8], 0x17
cmp dword [eax + 0x18], ebx
jb 0x41809e
mov eax, dword [eax + 4]
jmp 0x4180a1
add eax, 4
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x138
mov byte [esp + 0x1c8], 0x18
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x41810f
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x418104
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418104
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4180fd
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x41810f
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x17
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418137
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x41814f
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x19c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x15
call fcn.004acb90
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0x84]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], esi
jne 0x4181d2
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0x7c], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0x7c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x19
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.versionname
lea esi, [esp + 0x130]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x1a
call fcn.004accc0
mov byte [esp + 0x1c8], 0x1b
cmp dword [eax + 0x18], ebx
jb 0x418245
mov eax, dword [eax + 4]
jmp 0x418248
add eax, 4
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x124
mov byte [esp + 0x1c8], 0x1c
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x4182b6
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4182ab
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4182ab
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4182a4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x4182b6
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x1b
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4182de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x4182f6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x12c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x19
call fcn.004acb90
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0x94]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], esi
jne 0x418376
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x1d
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.iurl
lea esi, [esp + 0x150]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x1e
call fcn.004accc0
mov byte [esp + 0x1c8], 0x1f
cmp dword [eax + 0x18], ebx
jb 0x4183ef
mov eax, dword [eax + 4]
jmp 0x4183f2
add eax, 4
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x13c
mov byte [esp + 0x1c8], 0x20
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x418460
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x418455
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418455
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41844e
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x418460
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x1f
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x4184a0
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x14c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x1d
call fcn.004acb90
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0xb4]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], esi
jne 0x418523
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0xac], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0xac]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x21
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.token
lea esi, [esp + 0x170]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x22
call fcn.004accc0
mov byte [esp + 0x1c8], 0x23
cmp dword [eax + 0x18], ebx
jb 0x41859c
mov eax, dword [eax + 4]
jmp 0x41859f
add eax, 4
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x130
mov byte [esp + 0x1c8], 0x24
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x41860d
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x418602
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418602
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4185fb
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x41860d
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x23
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418635
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, 0x10
cmp dword [esp + 0x30], ebx
jb 0x41864d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
xor esi, esi
lea ecx, [esp + 0x16c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], esi
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x21
call fcn.004acb90
lea ecx, [esp + 0xac]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edx, dword [esp + 0xd4]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], esi
jne 0x4186d0
or dword [0x660d7c], 1
push 0x5a6480
mov dword [0x660cec], 0x5f8b70
call fcn.004f735c
add esp, 4
mov ecx, dword [0x627b7c]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
push 0x5d906c
call edx
mov dword [esp + 0xcc], eax
mov edx, dword [esp + 0x1d4]
lea eax, [esp + 0xcc]
push eax
push ecx
mov ecx, dword [esp + 0x1c]
push ecx
push edx
mov byte [esp + 0x1d8], 0x25
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.uiversion
lea esi, [esp + 0x190]
call fcn.004ad940
lea esi, [esp + 0x18]
mov ecx, eax
mov byte [esp + 0x1c8], 0x26
call fcn.004accc0
mov byte [esp + 0x1c8], 0x27
cmp dword [eax + 0x18], ebx
jb 0x418749
mov eax, dword [eax + 4]
jmp 0x41874c
add eax, 4
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x128
mov byte [esp + 0x1c8], 0x28
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x4187ba
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4187af
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4187af
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4187a8
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x4187ba
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0x27
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4187e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], 0x10
jb 0x4187f6
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004f6734
add esp, 4
lea ecx, [esp + 0x18c]
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov byte [esp + 0x1c8], 0x25
call fcn.004acb90
lea ecx, [esp + 0xcc]
mov byte [esp + 0x1c8], 0
call fcn.004acb90
mov edi, dword [esp + 0x1d0]
lea edx, [esp + 0x58]
push edx
lea ecx, [edi + 0x118]
call fcn.00418920
add edi, 0x140
mov byte [esp + 0x1c8], 0x29
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4188a4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x418899
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x418899
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x418892
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [edi], ebp
jmp 0x4188a4
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, edi
call fcn.004072f0
mov byte [esp + 0x1c8], 0
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4188cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.004aedd0
lea ecx, [esp + 0x10c]
mov dword [esp + 0x1c8], 0xffffffff
call fcn.004acb90
mov edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x1d4]
jmp 0x417700
mov eax, 1
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1b8
ret 8