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

Disassembly:
sub esp, 0x68
cmp word [0x54cbac], 0
push ebx
push ebp
push esi
mov ebx, 4
mov esi, 0x10
push edi
mov dword [esp + 0x50], 0x4aa76c
mov dword [esp + 0x54], 0x4aa760
mov dword [esp + 0x58], 0x4aa754
mov dword [esp + 0x5c], 0x4aa73c
mov dword [esp + 0x60], 0x4aa730
mov dword [esp + 0x14], 0x4aa728
mov dword [esp + 0x18], 0x4aa720
mov dword [esp + 0x64], 0x4aa6fc
mov dword [esp + 0x68], 0x4aa6e0
mov dword [esp + 0x6c], 0x4aa6c8
mov dword [esp + 0x70], 0x4aa6ac
mov dword [esp + 0x74], 0x4aa698
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0x20
mov dword [esp + 0x2c], 0x4aa68c
mov dword [esp + 0x30], 0x4aa680
mov dword [esp + 0x34], 0x4aa674
mov dword [esp + 0x38], 0x4aa668
mov dword [esp + 0x1c], 0x40
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x100
mov dword [esp + 0x28], 0x200
mov edi, 3
jne 0x41af37
mov eax, 0xfffffffe
push 1
mov dword [0x54d1c8], eax
push 0
mov dword [0x54d1cc], eax
push 5
mov dword [0x54d1d0], eax
push edi
mov dword [0x54d1d4], eax
push esi
push esi
mov dword [0x54d1d8], eax
mov dword [0x54cd14], edi
mov dword [0x54c9b0], 5
mov dword [0x54c8ec], esi
mov dword [0x554930], esi
call fcn.00448610
add esp, 0x18
inc word [0x54cbac]
mov dword [0x5676c0], eax
cmp word [0x54cbac], 0x64
jne 0x41af77
push 1
push 0
push ebx
push edi
push esi
push esi
mov dword [0x54cd14], edi
mov dword [0x54c9b0], ebx
mov dword [0x54c8ec], esi
mov dword [0x554930], esi
call fcn.00448610
add esp, 0x18
inc word [0x54cbac]
mov dword [0x5676c4], eax
jmp 0x41af7c
mov eax, dword [0x5676c4]
test eax, eax
je 0x41b280
cmp dword [eax + 0x78], 1
jl 0x41b280
push 4
push 0x54db78
call fcn.00420ff0
push 4
push 0x54db78
mov ebp, eax
call fcn.004210b0
add esp, 0x10
mov ebx, eax
mov esi, 1
xor edi, edi
mov ecx, dword [0x54c8ec]
mov edx, dword [0x554930]
push 0x6b
lea eax, [ecx + 0x12]
lea ecx, [edi + edx + 0x17]
lea edx, [ecx + 0x16]
push edx
lea edx, [eax + 0x9d]
push edx
push ecx
push eax
call fcn.0044aba0
add esp, 0x14
test eax, eax
je 0x41afef
test byte [0x45f1bc4], 1
je 0x41afed
mov ebp, esi
mov ebx, esi
add edi, 0x1e
inc esi
lea eax, [esi - 1]
cmp eax, 4
jb 0x41afb4
call fcn.0044b030
test eax, eax
jne 0x41b35a
test dword [0x4ebe490], 0x80000000
je 0x41b039
call fcn.00491b90
test eax, eax
jne 0x41b039
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
jmp 0x41b35a
cmp word [0x54cbac], 0x3e8
je 0x41b35a
test ebp, ebp
jne 0x41b068
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
jmp 0x41b35a
cmp ebp, 1
jl 0x41b352
cmp ebp, 5
ja 0x41b352
mov ecx, dword [0x462bf30]
mov eax, dword [esp + ebp*4 + 0x18]
dec ebp
and ecx, 0xffff
test eax, ecx
je 0x41b0a8
mov dx, ax
mov dword [0x45f1a14], 0
not dx
and word [0x462bf30], dx
jmp 0x41b0b4
mov ax, word [esp + ebp*4 + 0x1c]
or word [0x462bf30], ax
dec ebp
je 0x41b0fa
dec ebp
je 0x41b0d7
dec ebp
jne 0x41b11b
mov eax, dword [0x462bf30]
test ah, 2
jne 0x41b11b
push 1
push 0
push 0
call fcn.00465bd0
add esp, 0xc
jmp 0x41b11b
mov eax, dword [0x463087c]
test eax, eax
jne 0x41b11b
push 6
push 0x4aa65c
call fcn.004115c0
add esp, 8
and word [0x462bf30], 0xfeff
jmp 0x41b11b
mov eax, dword [0x462e3c8]
test eax, eax
jg 0x41b11b
push 6
push 0x4aa64c
call fcn.004115c0
add esp, 8
and word [0x462bf30], 0xff7f
cmp word [0x45602a8], 0
jne 0x41b1b7
cmp word [0x4581198], 0
jne 0x41b1b7
cmp word [0x45829ac], 0
jne 0x41b1b7
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x41b1ae
mov eax, dword [0x461b658]
test eax, eax
je 0x41b186
mov edx, dword [0x462bf30]
mov eax, dword [0x461b404]
and edx, 0xffff
push edx
push eax
call fcn.0048f950
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
jmp 0x41b1b7
mov ecx, dword [0x462bf30]
mov edx, dword [0x461b404]
and ecx, 0xffff
push ecx
push edx
call fcn.0043b4e0
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
jmp 0x41b1b7
mov word [0x5676a4], 1
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
mov edx, dword [0x554930]
mov eax, dword [0x54c8ec]
push 2
push 0x65ba
add edx, 0xa0
push 0x69
add eax, 0x60
push edx
push eax
call fcn.0047e210
add esp, 0x14
mov dword [0x54db78], eax
test ebx, ebx
jne 0x41b20c
push 0x4aa63c
push ebx
call fcn.0041f1a0
add esp, 8
xor edi, edi
xor esi, esi
mov ecx, dword [esp + esi + 0x2c]
mov edx, dword [0x554930]
push 0
push ecx
mov ecx, dword [0x54c8ec]
push 0
lea eax, [edi + edx + 0x1a]
push 1
add ecx, 0x14
push eax
push ecx
call fcn.0041d860
mov edx, dword [0x462bf30]
mov eax, dword [esp + esi + 0x34]
and edx, 0xffff
push 0
and eax, edx
mov edx, dword [0x554930]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + eax*4 + 0x30]
lea eax, [edi + edx + 0x1a]
push ecx
mov ecx, dword [0x54c8ec]
push 0
push 1
add ecx, 0x69
push eax
push ecx
call fcn.0041d860
add esi, 4
add esp, 0x30
add edi, 0x1e
cmp esi, 0x10
jl 0x41b210
mov eax, dword [0x5676c0]
test eax, eax
je 0x41b670
mov ecx, dword [eax + 0x78]
mov esi, 1
or ebp, 0xffffffff
or ebx, 0xffffffff
cmp ecx, esi
jl 0x41b30c
push 5
push 0x54d1c8
call fcn.00420ff0
push 5
push 0x54d1c8
mov ebp, eax
call fcn.004210b0
add esp, 0x10
mov ebx, eax
xor edi, edi
mov ecx, dword [0x554930]
mov edx, dword [0x54c8ec]
push 0x6b
lea ecx, [edi + ecx + 0x17]
lea eax, [edx + 0x12]
lea edx, [ecx + 0x16]
push edx
lea edx, [eax + 0x9d]
push edx
push ecx
push eax
call fcn.0044aba0
add esp, 0x14
test eax, eax
je 0x41b2fb
test byte [0x45f1bc4], 1
je 0x41b2f9
mov ebp, esi
mov ebx, esi
add edi, 0x1e
inc esi
lea eax, [esi - 1]
cmp eax, 5
jb 0x41b2c0
mov esi, 1
call fcn.0044b030
test eax, eax
jne 0x41b682
test dword [0x4ebe490], 0x80000000
je 0x41b3f5
call fcn.00491b90
test eax, eax
jne 0x41b3f5
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
jmp 0x41b682
test ebp, ebp
jl 0x41b1ce
mov eax, dword [0x5676c4]
push eax
call fcn.004011c0
push 0x4a2690
push str.datachannel.dat
mov dword [0x5676c4], 0
call fcn.00492394
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41b3a3
push 6
push 0x4aa628
call fcn.004115c0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
mov cl, byte [0x462bf30]
mov edx, dword [0x462bf30]
shr cl, 6
and cl, 1
xor eax, eax
mov al, byte [0x462bf31]
mov byte [esp + 0x10], cl
shr edx, 9
push esi
push 3
lea ecx, [esp + 0x18]
and dl, 1
and al, 1
push 1
push ecx
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], al
call fcn.0049226a
push esi
call fcn.00492214
add esp, 0x14
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp word [0x54cbac], 0x3e8
je 0x41b682
test ebp, ebp
jne 0x41b424
push 0xf0
push 0x140
push 0xcb
call fcn.00488190
add esp, 0xc
jmp 0x41b682
cmp ebp, 4
jne 0x41b455
mov ecx, dword [0x5676c0]
push ecx
call fcn.004011c0
add esp, 4
mov dword [0x5676c0], 0
mov word [0x54cbac], 0x64
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
cmp ebp, esi
jl 0x41b67a
cmp ebp, 5
ja 0x41b67a
mov edx, dword [0x462bf30]
mov eax, dword [esp + ebp*4 + 0x38]
lea ecx, [esp + ebp*4 + 0x38]
and edx, 0xffff
test eax, edx
je 0x41b48a
not ax
and word [0x462bf30], ax
jmp 0x41b4d1
cmp dword [0x46308b0], esi
je 0x41b4a8
cmp word [0x564e3e], 2
je 0x41b4a8
mov cx, word [ecx]
or word [0x462bf30], cx
jmp 0x41b4d1
cmp eax, 0x20
je 0x41b4c2
cmp eax, esi
je 0x41b4c2
cmp eax, 4
je 0x41b4c2
mov dx, word [ecx]
or word [0x462bf30], dx
jmp 0x41b4d1
push 6
push 0x4aa604
call fcn.004115c0
add esp, 8
cmp word [0x45602a8], 0
jne 0x41b567
cmp word [0x4581198], 0
jne 0x41b567
cmp word [0x45829ac], 0
jne 0x41b567
call sub.WINMM.dll_timeGetTime
mov ecx, dword [0x5676b0]
add ecx, 0x1f4
cmp ecx, eax
jae 0x41b560
mov eax, dword [0x461b658]
test eax, eax
je 0x41b538
mov edx, dword [0x462bf30]
mov eax, dword [0x461b404]
and edx, 0xffff
push edx
push eax
call fcn.0048f950
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
jmp 0x41b567
mov ecx, dword [0x462bf30]
mov edx, dword [0x461b404]
and ecx, 0xffff
push ecx
push edx
call fcn.0043b4e0
add esp, 8
call sub.WINMM.dll_timeGetTime
mov dword [0x5676b0], eax
jmp 0x41b567
mov word [0x5676a4], si
push 0xf0
push 0x140
push 0xd9
call fcn.00488190
add esp, 0xc
mov ecx, dword [0x5676c0]
cmp dword [ecx + 0x78], esi
jl 0x41b670
mov edx, dword [0x554930]
mov eax, dword [0x54c8ec]
push 2
push 0x65ba
add edx, 0xd6
push 0x69
add eax, 0x60
push edx
push eax
call fcn.0047e210
add esp, 0x14
mov dword [0x54d1c8], eax
test ebx, ebx
jne 0x41b5cb
push 0x4aa63c
push ebx
call fcn.0041f1a0
add esp, 8
xor edi, edi
dec ebx
xor esi, esi
mov ecx, dword [esp + edi*4 + 0x50]
mov edx, dword [0x554930]
push 0
push ecx
mov ecx, dword [0x54c8ec]
push 0
lea eax, [esi + edx + 0x1a]
push 1
add ecx, 0x14
push eax
push ecx
call fcn.0041d860
add esp, 0x18
cmp esi, 0x5a
je 0x41b64d
cmp esi, 0x96
je 0x41b64d
cmp esi, 0xb4
je 0x41b64d
mov edx, dword [0x462bf30]
mov eax, dword [esp + edi*4 + 0x3c]
and edx, 0xffff
push 0
and eax, edx
mov edx, dword [0x554930]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [esp + eax*4 + 0x18]
lea eax, [esi + edx + 0x1a]
push ecx
mov ecx, dword [0x54c8ec]
push 0
push 1
add ecx, 0x69
push eax
push ecx
call fcn.0041d860
add esp, 0x18
cmp edi, ebx
jne 0x41b660
mov edx, dword [esp + edi*4 + 0x64]
push edx
push 0
call fcn.0041f1a0
add esp, 8
add esi, 0x1e
inc edi
cmp esi, 0x96
jl 0x41b5d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x68
ret
test ebp, ebp
jl 0x41b57e
mov eax, dword [0x5676c0]
push eax
call fcn.004011c0
add esp, 4
mov eax, esi
mov dword [0x5676c0], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret