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

Disassembly:
push 0xffffffffffffffff
push 0x43f0e7
mov eax, dword fs:[0]
push eax
sub esp, 0x928
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x920], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44c040]
xor eax, esp
push eax
lea eax, [esp + 0x93c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
xor ebx, ebx
mov dword [esp + 0x944], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x944], 4
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0x944], 5
mov eax, dword [0x44e98c]
mov edx, dword [eax + 0xc]
mov ecx, 0x44e98c
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x944], 6
cmp dword [esi + 0x84], ebx
jne 0x416717
add eax, 0xfffffff0
mov byte [esp + 0x944], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x944], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4166fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x94c]
call fcn.0041eb30
mov ecx, dword [esp + 0x94c]
push ecx
jmp 0x417058
push esi
call fcn.004172f0
lea ebp, [esi + 0xe48]
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [esi + 0x10f4]
mov eax, dword [edx + 4]
lea edi, [esi + 0x10dc]
push eax
mov ecx, edi
call fcn.0041ecb0
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], ebx
mov dword [eax], eax
mov edi, dword [edi + 0x18]
push ebp
mov dword [edi + 8], edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x10d4]
mov eax, dword [eax]
mov edi, dword [esi + 0x10c0]
mov ebp, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ebp
jmp 0x416780
mov ebx, dword [esi + 0x10d4]
mov esi, dword [esi + 0x10c0]
test edi, edi
je 0x416794
cmp edi, esi
je 0x416799
call fcn.00429770
cmp ebp, ebx
je 0x416f61
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x666]
push edx
mov word [esp + 0x668], cx
call fcn.0042aa60
add esp, 0xc
push 0xd0
lea eax, [esp + 0x868]
push 0
push eax
call fcn.0042aa60
add esp, 0xc
test edi, edi
jne 0x41691d
call fcn.00429770
cmp ebp, dword [edi + 0x14]
jne 0x4167ef
call fcn.00429770
lea esi, [ebp + 8]
mov ecx, 0xb6
lea edi, [esp + 0x65c]
rep movsd dword es:[edi], dword [esi]
push 0
push 0x4448fc
lea esi, [esp + 0x58]
call fcn.004028d0
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
mov ebx, dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
add esp, 8
test eax, eax
je 0x416826
push eax
call ebx
mov edi, dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
push esi
call edi
neg eax
sbb eax, eax
not eax
and eax, esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x416846
push eax
call ebx
lea ecx, [esp + 0x65c]
push ecx
push 0x4446f8
lea esi, [esp + 0x50]
mov dword [esp + 0x58], 0
call fcn.004028d0
mov esi, dword [eax]
mov eax, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x416874
push eax
call ebx
push esi
call edi
mov ebp, eax
mov eax, dword [esp + 0x48]
neg ebp
sbb ebp, ebp
not ebp
and ebp, esi
mov dword [esp + 0x14], ebp
test eax, eax
je 0x416890
push eax
call ebx
push 0x444900
push str.width
push ebp
mov dword [esp + 0x54], 0
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
mov edx, dword [esp + 0x18]
push 0
push edx
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
mov eax, dword [esp + 0x8cc]
mov ecx, dword [esp + 0x8c8]
push eax
push ecx
lea ebx, [esp + 0x70]
call fcn.00417090
mov byte [esp + 0x944], 7
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x416931
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x416924
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x416924
call fcn.004030c0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x416914
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x416931
mov edi, dword [edi]
jmp 0x4167e5
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00403540
mov byte [esp + 0x944], 6
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 0x416959
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x8cc]
mov edx, dword [esp + 0x8c8]
push ecx
push edx
push str.__d__d
lea edi, [esp + 0x2c]
call fcn.004026d0
add esp, 0xc
push 0
push 0x4446f8
lea esi, [esp + 0x6c]
call fcn.004028d0
mov esi, dword [eax]
add esp, 8
test ebp, ebp
je 0x41699a
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov ebx, eax
mov eax, dword [esp + 0x64]
neg ebx
sbb ebx, ebx
not ebx
and ebx, esi
mov dword [esp + 0x14], ebx
test eax, eax
je 0x4169be
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov ebp, dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
push 0x444920
push str.width
push ebx
mov dword [esp + 0x70], 0
call ebp
push 0
push 0x4433c8
lea esi, [esp + 0x60]
call fcn.004028d0
mov edi, dword [eax]
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x4169fd
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
mov eax, dword [esp + 0x58]
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x28], esi
test eax, eax
je 0x416a21
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov eax, dword [esp + 0x1c]
push eax
push 0x4430ec
push esi
mov dword [esp + 0x64], 0
call ebp
mov ebp, dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
push 1
push ebx
push esi
call ebp
mov ecx, dword [esp + 0x20]
push ecx
push str.span
lea esi, [esp + 0x48]
call fcn.004028d0
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x416a69
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
mov eax, dword [esp + 0x40]
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x24], esi
test eax, eax
je 0x416a8d
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push 1
push ebx
push esi
mov dword [esp + 0x4c], 0
call ebp
mov edx, dword [esp + 0x18]
push 2
push edx
push ebx
call ebp
lea esi, [esp + 0x34]
lea eax, [esp + 0x14]
call fcn.00402890
mov byte [esp + 0x944], 8
mov eax, dword [esp + 0x8d0]
push eax
push 0x444fa8
lea edi, [esp + 0x28]
call fcn.004026d0
mov ecx, dword [esp + 0x28]
push ecx
push 0x4446f8
lea esi, [esp + 0x70]
call fcn.004028d0
mov esi, dword [eax]
add esp, 0x10
test ebx, ebx
je 0x416af3
push ebx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov ebp, eax
mov eax, dword [esp + 0x60]
neg ebp
sbb ebp, ebp
not ebp
and ebp, esi
mov dword [esp + 0x14], ebp
test eax, eax
je 0x416b17
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push 0x444920
push str.width
push ebp
mov dword [esp + 0x6c], 0
call dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
mov edx, dword [esp + 0x18]
push 2
push edx
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
mov eax, dword [esp + 0x8d4]
push 0
push eax
lea ebx, [esp + 0x74]
call fcn.00417090
mov byte [esp + 0x944], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x416bab
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x416b9e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x416b9e
call fcn.004030c0
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x416b95
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x1c], ebx
jmp 0x416bab
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x20]
call fcn.00403540
mov byte [esp + 0x944], 8
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416bd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x8d4]
push ecx
push str.__dms
lea edi, [esp + 0x28]
call fcn.004026d0
push 0
push 0x4446f8
lea esi, [esp + 0x54]
call fcn.004028d0
mov esi, dword [eax]
add esp, 0x10
test ebp, ebp
je 0x416c09
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov edi, eax
mov eax, dword [esp + 0x44]
neg edi
sbb edi, edi
not edi
and edi, esi
mov dword [esp + 0x14], edi
test eax, eax
je 0x416c2d
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov ebx, dword [sym.imp.HTMLayout.dll_HTMLayoutSetAttributeByName]
push 0x444920
push str.width
push edi
mov dword [esp + 0x50], 0
call ebx
push 0
push 0x4433c8
lea esi, [esp + 0x54]
call fcn.004028d0
mov ebp, dword [eax]
mov eax, dword [esp + 0x30]
add esp, 8
test eax, eax
je 0x416c6c
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
mov eax, dword [esp + 0x4c]
neg esi
sbb esi, esi
not esi
and esi, ebp
mov ebp, dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov dword [esp + 0x28], esi
test eax, eax
je 0x416c92
push eax
call ebp
mov edx, dword [esp + 0x1c]
push edx
push 0x4430ec
push esi
mov dword [esp + 0x58], 0
call ebx
push 0
push edi
push esi
call dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
mov eax, dword [esp + 0x20]
push eax
push str.span
lea esi, [esp + 0x5c]
call fcn.004028d0
mov edi, dword [eax]
mov eax, dword [esp + 0x2c]
add esp, 8
test eax, eax
je 0x416cd4
push eax
call ebp
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
mov esi, eax
mov eax, dword [esp + 0x54]
neg esi
sbb esi, esi
not esi
and esi, edi
mov dword [esp + 0x24], esi
test eax, eax
je 0x416cf4
push eax
call ebp
mov edi, dword [esp + 0x14]
push 1
push edi
push esi
mov esi, dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
mov dword [esp + 0x60], 0
call esi
mov ebp, dword [esp + 0x18]
push 3
push ebp
push edi
call esi
lea esi, [esp + 0x30]
lea eax, [esp + 0x18]
call fcn.00402890
mov eax, dword [esp + 0x2c]
add eax, 0xe48
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
sub esp, 0x2d8
mov edi, esp
mov ecx, 0xb6
lea esi, [esp + 0x934]
rep movsd dword es:[edi], dword [esi]
push ecx
mov dword [esp + 0x34c], esp
mov esi, esp
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, ebp
lea ebx, [esp + 0x638]
mov dword [esi], eax
call fcn.0041db70
add esp, 0x2dc
mov esi, eax
mov edi, dword [esi]
push edi
call dword [sym.imp.HTMLayout.dll_HTMLayout_UseElement]
neg eax
sbb eax, eax
not eax
and eax, edi
add esi, 4
mov ecx, 0xb6
lea edi, [esp + 0x84]
mov dword [esp + 0x80], eax
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x78]
push edx
add ebx, 0x10dc
mov byte [esp + 0x94c], 0xc
call fcn.0041cdf0
mov eax, dword [esp + 0x80]
test eax, eax
je 0x416dd7
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov bl, 0xa
mov byte [esp + 0x944], bl
mov eax, dword [esp + 0x35c]
xor edi, edi
cmp eax, edi
je 0x416df4
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov esi, dword [esp + 0x2c]
lea eax, [esi + 0xe48]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x84]
push 0x7fffffff
push eax
push ebp
call dword [sym.imp.HTMLayout.dll_HTMLayoutInsertElement]
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x8dc]
call fcn.004085b0
mov byte [esp + 0x944], 0xd
xor eax, eax
mov dword [esp + 0x63a], eax
mov dword [esp + 0x63e], eax
mov dword [esp + 0x642], eax
mov dword [esp + 0x646], eax
mov dword [esp + 0x64a], eax
mov dword [esp + 0x64e], eax
mov dword [esp + 0x652], eax
mov dword [esp + 0x656], eax
mov word [esp + 0x65a], ax
mov eax, dword [esp + 0x900]
mov edx, 2
push eax
mov word [esp + 0x63c], dx
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esp + 0x5c]
push ecx
mov word [esp + 0x65e], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esi + 0xe2c]
mov dword [esp + 0x63a], eax
mov edx, dword [ecx]
mov edx, dword [edx + 8]
push edi
lea eax, [esp + 0x63c]
push eax
call edx
mov byte [esp + 0x944], bl
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 0x416ee5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x416f04
dec dword [eax]
cmp dword [eax], edi
jne 0x416f04
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004284c0
add esp, 4
mov dword [esp + 0x30], edi
mov byte [esp + 0x944], 6
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x416f2b
dec dword [eax]
cmp dword [eax], edi
jne 0x416f2b
mov edx, dword [esp + 0x34]
push edx
call fcn.004284c0
add esp, 4
mov dword [esp + 0x34], edi
mov eax, dword [esp + 0x38]
cmp eax, edi
jne 0x416f5d
call fcn.00429770
xor eax, eax
mov esi, dword [esp + 0x3c]
cmp esi, dword [eax + 0x14]
jne 0x416f48
call fcn.00429770
mov eax, dword [esi]
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov ebp, eax
jmp 0x416780
mov eax, dword [eax]
jmp 0x416f3a
mov byte [esp + 0x944], 5
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416f89
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x944], 4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416fb1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x24], 0
je 0x416fc3
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
cmp dword [esp + 0x28], 0
je 0x416fd5
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
cmp dword [esp + 0x14], 0
je 0x416fe7
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
cmp dword [esp + 0x18], 0
je 0x416ff9
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.HTMLayout.dll_HTMLayout_UnuseElement]
mov ecx, dword [esp + 0x960]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [esp + 0x960]
mov dword [ecx + 4], ecx
mov ecx, dword [esp + 0x960]
mov dword [esp + 0x964], 0
cmp eax, ecx
je 0x41703c
mov esi, dword [eax]
push eax
call fcn.00428250
mov ecx, dword [esp + 0x964]
add esp, 4
mov eax, esi
cmp esi, ecx
jne 0x417024
push ecx
call fcn.00428250
mov edx, dword [esp + 0x950]
add esp, 4
mov dword [esp + 0x960], 0
push edx
call fcn.00428250
add esp, 4
mov ecx, dword [esp + 0x93c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x920]
xor ecx, esp
call fcn.0042825b
add esp, 0x934
ret 0x1c