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

Disassembly:
push 0x8c
mov eax, 0x561cad
call fcn.00561213
mov ebx, ecx
xor eax, eax
mov dword [ebp - 0x90], ebx
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebp - 4], eax
mov edi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 4
call edi
mov esi, eax
pop ecx
mov dword [ebp - 0x8c], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x404ab0
push 0x470
call edi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x404aaa
mov ecx, eax
call fcn.00442eaa
jmp 0x404aac
xor eax, eax
mov dword [esi], eax
jmp 0x404ab2
xor esi, esi
mov byte [ebp - 4], 0
lea ecx, [ebx + 8]
and dword [ebx + 8], 0
and dword [ebx + 0xc], 0
push esi
call fcn.0040c40c
push 4
mov byte [ebp - 4], 3
call edi
mov esi, eax
pop ecx
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x404b08
and dword [esi], 0
push 0x4f8
call edi
pop ecx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x404b02
mov ecx, eax
call fcn.0047ff4c
jmp 0x404b04
xor eax, eax
mov dword [esi], eax
jmp 0x404b0a
xor esi, esi
mov byte [ebp - 4], 3
lea ecx, [ebx + 0x10]
and dword [ebx + 0x10], 0
and dword [ebx + 0x14], 0
push esi
call fcn.0040c476
push 0xa0
mov byte [ebp - 4], 6
call edi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x404b42
mov ecx, eax
call fcn.0047aa9b
jmp 0x404b44
xor eax, eax
lea ecx, [ebx + 0x18]
mov byte [ebp - 4], 6
and dword [ecx], 0
and dword [ecx + 4], 0
push eax
call fcn.0040c4e0
xor eax, eax
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
push 0x2c
mov byte [ebp - 4], 0xb
call edi
mov esi, eax
pop ecx
mov dword [ebp - 0x84], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x404ba6
mov ecx, esi
call fcn.00538390
xor ecx, ecx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], 3
mov byte [esi + 0x28], cl
jmp 0x404baa
xor ecx, ecx
mov esi, ecx
mov byte [ebp - 4], 0xb
mov dword [ebx + 0x3c], ecx
mov dword [ebx + 0x40], ecx
lea ecx, [ebx + 0x3c]
push esi
call fcn.0040c560
lea ecx, [ebx + 0x44]
mov byte [ebp - 4], 0xd
call fcn.004afbe0
xor eax, eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov byte [ebp - 4], 0xf
lea esi, [ebx + 0x54]
push eax
push eax
mov dword [ebp - 0x84], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.00409f3e
mov dword [esi], eax
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 0x11
mov ecx, esi
push 8
mov dword [esi + 0x1c], 0x3f800000
call fcn.00409195
xor esi, esi
mov dword [ebx + 0x74], esi
mov dword [ebx + 0x78], esi
push str.listener
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x13
call fcn.00401c4a
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push eax
lea ecx, [ebx + 0x7c]
call fcn.00538410
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.00401d3f
mov dword [ebx + 0xc8], esi
push 0x88
mov byte [ebp - 4], 0x17
call edi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x404c68
mov ecx, eax
call fcn.0043f2ad
jmp 0x404c6a
mov eax, esi
lea ecx, [ebx + 0xd0]
mov byte [ebp - 4], 0x17
push eax
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0040c5ca
push 0x78
mov byte [ebp - 4], 0x19
call edi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0x1a
test eax, eax
je 0x404c9f
mov ecx, eax
call fcn.0043fbe5
jmp 0x404ca1
mov eax, esi
lea ecx, [ebx + 0xd8]
mov byte [ebp - 4], 0x19
push eax
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0040c641
push 0x70
mov byte [ebp - 4], 0x1b
call edi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0x1c
test eax, eax
je 0x404cd6
mov ecx, eax
call fcn.0040259c
jmp 0x404cd8
mov eax, esi
lea ecx, [ebx + 0xe0]
mov byte [ebp - 4], 0x1b
push eax
mov dword [ecx], esi
mov dword [ecx + 4], esi
call fcn.0040c6b8
xor eax, eax
lea edi, [ebp - 0x68]
xor ecx, ecx
mov word [ebp - 0x80], ax
push 7
pop edx
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x70], ecx
stosd dword es:[edi], eax
mov word [ebx + 0xe8], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x40], ax
xor edx, edx
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x28]
call fcn.0043a53d
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0x1f
cmp ecx, eax
je 0x404d45
push 0xffffffffffffffff
push 0
push eax
call fcn.00401f92
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
call fcn.0053cce0
lea edi, [ebx + 8]
mov eax, dword [edi]
mov ecx, dword [eax]
test ecx, ecx
je 0x404d65
lea eax, [ebp - 0x80]
push eax
call fcn.00443abe
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
test ecx, ecx
je 0x404d75
push dword [edi]
call fcn.004805fc
mov eax, dword [edi]
mov edi, 0x124
mov esi, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [esi + 0x28], eax
mov ecx, dword [esi + 0x28]
push esi
push 0x47ac18
push edi
call fcn.00449718
inc edi
cmp edi, 0x12a
jle 0x404d84
mov ecx, dword [esi + 0x28]
push esi
push 0x47ac28
push 0x33
call fcn.00449718
mov ecx, dword [esi + 0x28]
push esi
push 0x47ac38
push 6
call fcn.00449718
mov esi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 4
call esi
pop ecx
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 0x20
test eax, eax
je 0x404e08
mov eax, dword [ebx + 8]
push 0xd0
mov edi, dword [eax]
call esi
pop ecx
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 0x21
test eax, eax
je 0x404dfc
push edi
mov ecx, eax
call fcn.0047c529
mov ecx, eax
jmp 0x404dfe
xor ecx, ecx
mov eax, dword [ebp - 0x8c]
mov dword [eax], ecx
jmp 0x404e0a
xor eax, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x88]
and dword [ebp - 0x88], 0
and dword [ebp - 0x84], 0
push eax
call fcn.0040d032
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x88]
mov dword [ebx + 0x20], eax
test ecx, ecx
je 0x404e46
call fcn.0040283d
sub esp, 0x18
mov eax, esp
mov dword [eax], 0x57f170
lea esi, [ebx + 0x44]
mov dword [eax + 4], ebx
mov dword [eax + 0x10], eax
mov byte [ebp - 4], 0x1e
mov ecx, dword [esi]
call fcn.004afa04
mov ecx, dword [esi]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0x57efe4
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], eax
push eax
add ecx, 0x20
mov byte [ebp - 4], 0x24
call fcn.004026df
mov byte [ebp - 4], 0x1e
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404ea0
mov edx, dword [ecx]
lea eax, [ebp - 0x28]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov eax, dword [ebx + 0x3c]
push ecx
push ecx
mov ecx, esp
push esi
mov byte [eax + 0x28], 1
call fcn.00402dd4
call fcn.004aecc7
pop ecx
pop ecx
lea ecx, [ebp - 0x80]
call fcn.00404ecd
mov eax, ebx
call fcn.005611c2
ret