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

Disassembly:
push 0xffffffffffffffff
push 0x5a34db
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x2f4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x304]
mov esi, dword [ebp + 0x160]
add ebp, 0x150
mov dword [esp + 0x18], ebp
cmp dword [ebp + 0xc], esi
jbe 0x467fbe
call fcn.004f825e
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp]
cmp ebx, dword [ebp + 0x10]
jbe 0x467fce
call fcn.004f825e
mov eax, dword [ebp]
push esi
push edi
push ebx
push eax
lea eax, [esp + 0x9c]
push eax
push ebp
call fcn.00469050
mov edi, dword [esp + 0x308]
mov ecx, edi
call fcn.004ad2e0
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x34], eax
jle 0x4686d1
jmp 0x468010
mov ecx, dword [esp + 0x64]
and ecx, 0xffffff04
or ecx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], ebx
jne 0x46804f
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 + 0x5c], eax
lea ecx, [esp + 0x5c]
push ecx
push ecx
push ebp
push edi
mov dword [esp + 0x30c], ebx
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.iconurl
lea esi, [esp + 0xb8]
call fcn.004ad940
mov byte [esp + 0x2fc], 1
mov eax, dword [eax]
push 3
lea edx, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xf0], edx
call fcn.00410760
lea eax, [esp + 0x14]
mov byte [esp + 0x2fc], 2
mov ecx, dword [esp + 0xe8]
push eax
call fcn.004066b0
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0xec]
cmp eax, ecx
je 0x4680ec
push eax
call fcn.004f6d01
add esp, 4
lea ecx, [esp + 0xb4]
mov byte [esp + 0x2fc], 5
call fcn.004acb90
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2fc], 6
call fcn.004acb90
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x90], esp
mov esi, esp
call fcn.004073f0
mov ecx, dword [esp + 0x310]
add eax, 0x10
mov dword [esi], eax
call fcn.00468710
mov esi, eax
cmp esi, ebx
jne 0x468172
mov dword [esp + 0x2fc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4686c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4686c6
lea ecx, [esp + 0x1c]
push ecx
call fcn.00466c20
mov byte [esp + 0x2fc], 7
mov edx, dword [esp + 0x74]
and edx, 0xffffff04
or edx, 0x104
test byte [0x660d7c], 1
mov dword [esp + 0x1c], esi
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ebx
jne 0x4681c7
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
lea eax, [esp + 0x6c]
push eax
push ecx
push ebp
push edi
mov byte [esp + 0x30c], 8
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.title
lea esi, [esp + 0x98]
call fcn.004ad940
mov byte [esp + 0x2fc], 9
mov eax, dword [eax]
lea ecx, [esp + 0x30]
push ecx
mov ebx, eax
call fcn.0041a110
add esp, 4
mov byte [esp + 0x2fc], 0xa
mov ecx, dword [eax]
mov esi, dword [esp + 0x20]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x468284
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x468277
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x468277
call fcn.004073f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x468267
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x308]
jmp 0x468284
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x24]
call fcn.004072f0
mov byte [esp + 0x2fc], 9
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4682ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x94]
mov byte [esp + 0x2fc], 8
call fcn.004acb90
lea ecx, [esp + 0x6c]
mov byte [esp + 0x2fc], 7
call fcn.004acb90
mov ecx, dword [esp + 0x54]
and ecx, 0xffffff04
or ecx, 0x104
mov eax, 1
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], 0
test byte [0x660d7c], al
jne 0x468317
or dword [0x660d7c], eax
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 + 0x4c], eax
lea ecx, [esp + 0x4c]
push ecx
push ecx
push ebp
push edi
mov byte [esp + 0x30c], 0xb
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, str.content
lea esi, [esp + 0xd8]
call fcn.004ad940
mov byte [esp + 0x2fc], 0xc
mov eax, dword [eax]
lea edx, [esp + 0x38]
push edx
mov ebx, eax
call fcn.0041a110
add esp, 4
mov byte [esp + 0x2fc], 0xd
mov ecx, dword [eax]
mov esi, dword [esp + 0x24]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x4683d4
cmp dword [esi + 0xc], 0
lea ebx, [esi + 0xc]
jl 0x4683c7
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x4683c7
call fcn.004073f0
mov edi, eax
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x4683b7
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add edi, 0x10
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x308]
jmp 0x4683d4
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x28]
call fcn.004072f0
mov byte [esp + 0x2fc], 0xc
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4683fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x2fc], 0xb
call fcn.004acb90
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2fc], 7
call fcn.004acb90
mov ecx, dword [esp + 0x44]
and ecx, 0xffffff04
or ecx, 0x104
mov eax, 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], 0
test byte [0x660d7c], al
jne 0x468467
or dword [0x660d7c], eax
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 + 0x3c], eax
lea ecx, [esp + 0x3c]
push ecx
push ecx
push ebp
push edi
mov byte [esp + 0x30c], 0xe
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, 0x5e1b68
lea esi, [esp + 0xc8]
call fcn.004ad940
mov byte [esp + 0x2fc], 0xf
mov eax, dword [eax]
push 3
lea edx, [esp + 0xf0]
push eax
lea eax, [esp + 0xf0]
mov dword [esp + 0xf0], edx
call fcn.00410760
mov byte [esp + 0x2fc], 0x10
mov edx, dword [esp + 0xe8]
test edx, edx
jne 0x4684e8
xor eax, eax
jmp 0x4684ff
mov eax, edx
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4684f0
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
call fcn.004072f0
mov eax, dword [esp + 0xe8]
lea ecx, [esp + 0xec]
cmp eax, ecx
je 0x468526
push eax
call fcn.004f6d01
add esp, 4
lea ecx, [esp + 0xc4]
mov byte [esp + 0x2fc], 0xe
call fcn.004acb90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2fc], 7
call fcn.004acb90
mov edx, dword [esp + 0x84]
and edx, 0xffffff04
or edx, 0x104
mov eax, 1
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], 0
test byte [0x660d7c], al
jne 0x46859a
or dword [0x660d7c], eax
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
lea eax, [esp + 0x7c]
push eax
push ecx
push ebp
push edi
mov byte [esp + 0x30c], 0x11
call fcn.004ad360
mov ecx, eax
add esp, 4
mov eax, 0x5d942c
lea esi, [esp + 0xa8]
call fcn.004ad940
mov byte [esp + 0x2fc], 0x12
mov eax, dword [eax]
push 3
lea ecx, [esp + 0x1f4]
push eax
lea eax, [esp + 0x1f4]
mov dword [esp + 0x1f4], ecx
call fcn.00410760
mov byte [esp + 0x2fc], 0x13
mov edx, dword [esp + 0x1ec]
test edx, edx
jne 0x46861b
xor eax, eax
jmp 0x46862f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468620
sub eax, esi
sar eax, 1
mov ebx, eax
push edx
lea eax, [esp + 0x30]
call fcn.004072f0
mov eax, dword [esp + 0x1ec]
lea edx, [esp + 0x1f0]
cmp eax, edx
je 0x468656
push eax
call fcn.004f6d01
add esp, 4
lea ecx, [esp + 0xa4]
mov byte [esp + 0x2fc], 0x11
call fcn.004acb90
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2fc], 7
call fcn.004acb90
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
call fcn.00468b20
lea esi, [esp + 0x1c]
call fcn.0041bd40
mov dword [esp + 0x2fc], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4686bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x308]
xor ebx, ebx
inc ebp
cmp ebp, dword [esp + 0x34]
jl 0x468010
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
xor edx, edx
cmp edx, ecx
sbb eax, eax
neg eax
mov ecx, dword [esp + 0x2f4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2ec
ret 0xc