Function at 0x413590
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 0x4135d1
xor eax, eax
jmp 0x4147dd
mov eax, dword [ebx]
xor edi, edi
cmp eax, edi
je 0x4135eb
mov ecx, dword [eax + 0x18]
mov ecx, dword [ecx]
mov edi, dword [eax]
mov dword [esp + 0x38], ecx
mov byte [esp + 0x3c], 0
jmp 0x4135f4
mov dword [esp + 0x38], edi
mov byte [esp + 0x3c], 1
mov dword [esp + 0x34], edi
jmp 0x413600
movsx eax, byte [ebx + 8]
add eax, 0xfffffffa
cmp eax, 1
ja 0x41361d
mov eax, dword [ebx]
test eax, eax
je 0x41361d
mov ecx, dword [eax + 0x18]
mov eax, dword [eax]
mov esi, ecx
xor cl, cl
jmp 0x413623
xor eax, eax
xor esi, esi
mov cl, 1
cmp byte [esp + 0x3c], 0
jne 0x41363e
test edi, edi
je 0x413632
cmp edi, eax
je 0x413637
call fcn.004f825e
cmp dword [esp + 0x38], esi
sete cl
test cl, cl
jne 0x4147d8
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 0x413688
mov dword [esp + 0x1c8], 0xffffffff
call fcn.004acb90
jmp 0x413600
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 0x4136df
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 0x41374e
mov eax, dword [eax + 4]
jmp 0x413751
add eax, 4
push eax
lea edx, [esp + 0x60]
push edx
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x58
mov byte [esp + 0x1c8], 4
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x4137c8
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4137b6
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4137b6
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4137ab
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 0x4137c1
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 0x4137f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], 0x10
jb 0x413804
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 0x413887
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 0x4138f6
mov eax, dword [eax + 4]
jmp 0x4138f9
add eax, 4
push eax
lea ecx, [esp + 0x64]
push ecx
call fcn.004ea33e
add esp, 8
mov ebp, dword [esp + 0x1d0]
add ebp, 0x54
mov byte [esp + 0x1c8], 8
mov ecx, dword [eax]
mov esi, dword [ebp]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x413967
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x41395c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41395c
call fcn.004073f0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x413954
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 0x413967
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 0x41398f
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 0x4139a7
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 0x413a2a
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 0x413aa3
mov eax, dword [eax + 4]
jmp 0x413aa6
add eax, 4
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x5c
mov byte [esp + 0x1c8], 0xc
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x413b11
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x413b06
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413b06
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413aff
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 0x413b11
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 0x413b39
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 0x413b51
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 0x413bd4
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 0x413c4d
mov eax, dword [eax + 4]
jmp 0x413c50
add eax, 4
push eax
lea eax, [esp + 0x68]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x68
mov byte [esp + 0x1c8], 0x10
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x413cbb
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x413cb0
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413cb0
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413ca9
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 0x413cbb
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 0x413ce3
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 0x413cfb
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 0x413d75
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 0x413de8
mov eax, dword [eax + 4]
jmp 0x413deb
add eax, 4
push eax
lea eax, [esp + 0x50]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x70
mov byte [esp + 0x1c8], 0x14
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x413e56
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x413e4b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413e4b
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413e44
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 0x413e56
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 0x413e7e
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 0x413e96
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 0x413f16
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 0x413f8f
mov eax, dword [eax + 4]
jmp 0x413f92
add eax, 4
push eax
lea eax, [esp + 0x44]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x74
mov byte [esp + 0x1c8], 0x18
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x413ffd
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x413ff2
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x413ff2
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x413feb
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 0x413ffd
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 0x414025
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 0x41403d
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 0x4140c0
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 0x414133
mov eax, dword [eax + 4]
jmp 0x414136
add eax, 4
push eax
lea eax, [esp + 0x58]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x60
mov byte [esp + 0x1c8], 0x1c
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x4141a1
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414196
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414196
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41418f
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 0x4141a1
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 0x4141c9
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 0x4141e1
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 0x414261
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 0x4142da
mov eax, dword [eax + 4]
jmp 0x4142dd
add eax, 4
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x78
mov byte [esp + 0x1c8], 0x20
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x414348
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x41433d
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x41433d
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x414336
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 0x414348
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 0x414370
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 0x414388
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 0x41440b
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 0x414484
mov eax, dword [eax + 4]
jmp 0x414487
add eax, 4
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x6c
mov byte [esp + 0x1c8], 0x24
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x4144f2
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4144e7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4144e7
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4144e0
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 0x4144f2
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 0x41451a
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 0x414532
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 0x4145b5
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 0x41462e
mov eax, dword [eax + 4]
jmp 0x414631
add eax, 4
push eax
lea eax, [esp + 0x54]
push eax
call fcn.004ea33e
add esp, 8
mov edi, dword [esp + 0x1d0]
add edi, 0x64
mov byte [esp + 0x1c8], 0x28
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, ebx
cmp eax, esi
je 0x41469c
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414691
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414691
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41468a
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 0x41469c
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 0x4146c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x30], 0x10
jb 0x4146d8
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 + 0x54]
call fcn.00418920
add edi, 0x7c
mov byte [esp + 0x1c8], 0x29
mov ecx, dword [eax]
mov esi, dword [edi]
lea eax, [ecx - 0x10]
sub esi, 0x10
cmp eax, esi
je 0x414780
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x414775
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x414775
call fcn.004073f0
mov ebp, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x41476e
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 0x414780
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 0x4147a8
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 0x413600
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