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

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
push edi
mov edi, 1
mov esi, ecx
mov ecx, dword [esp + 0x198]
push edi
push str.enabled
mov dword [esp + 0x18], esi
call fcn.00482370
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov ebp, 3
ja case.default.0x472a1c
jmp dword [ecx*4 + 0x47345c]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a3a
mov dword [esi + 0x154], 2
jmp case.default.0x472a1c
mov dword [esi + 0x140], 2
jmp case.default.0x472a1c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a59
mov dword [esi + 0x154], edi
jmp case.default.0x472a1c
mov dword [esi + 0x140], edi
jmp case.default.0x472a1c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a74
mov dword [esi + 0x154], ebp
jmp case.default.0x472a1c
mov dword [esi + 0x140], ebp
jmp case.default.0x472a1c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x472a93
mov dword [esi + 0x154], 4
jmp case.default.0x472a1c
mov dword [esi + 0x140], 4
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x472f71
test al, al
mov eax, dword [esp + 0x10]
je 0x472ac8
mov esi, dword [eax + 0x13c]
mov eax, dword [eax + 0x154]
mov dword [esp + 0x1c], eax
jmp 0x472ad8
mov ecx, dword [eax + 0x140]
mov esi, dword [eax + 0x150]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.00482660
cmp eax, 9
jl case.default.0x472b26
cmp dword [esp + 0x198], esi
jne case.default.0x472b26
mov al, byte [esp + 0x1a0]
test al, al
je 0x472b09
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x140]
jmp 0x472b13
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x154]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x472b26
movzx ecx, byte [ecx + 0x47348c]
jmp dword [ecx*4 + 0x473480]
cmp eax, ebp
jne case.default.0x472b26
jmp case.0x472b26.0
cmp eax, ebp
je case.0x472b26.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], ebp
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.00482550
test eax, eax
jne 0x472f5a
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x472f5a
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x1c]
shr eax, 0xd
and eax, 7
cmp eax, edx
mov dword [esp + 0x48], eax
je 0x472f5a
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x51e]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x472c50
mov ecx, esi
call fcn.004811c0
mov esi, eax
cmp esi, ebx
je 0x472f53
mov edi, dword [esi + 0x34]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x472bc5
mov ecx, edi
call fcn.0048e850
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x472be5
mov edi, eax
push 1
push 0
mov ecx, esi
call fcn.0051f360
dec edi
jne 0x472bd7
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
ja case.0x472bee.1
jmp dword [eax*4 + 0x473498]
mov edi, dword [esi + 0x54]
jmp 0x472c02
mov edi, dword [esi + 0x58]
jmp 0x472c02
mov edi, dword [esi + 0x50]
test edi, edi
je 0x472f2f
push edi
mov ecx, esi
call fcn.0051f2a0
mov ecx, dword [ebx + 0x640]
mov eax, dword [ecx + 0x2b0]
test eax, eax
jne 0x472c2e
push 0xac
mov ecx, ebx
call fcn.00540e50
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.00583ad6
test al, al
je 0x472f2f
mov ecx, edi
call fcn.00522c70
jmp 0x472f2f
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x472c60
xor ebx, ebx
nop
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
push ecx
push ebx
mov edi, closesocket
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], 0
call fcn.00490d80
cmp byte [esi + 0x7e], 0x22
jne 0x472cab
add dword [esp + 0x24], 2
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], 0
je 0x472ce7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.00490d80
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x472f1d
lea ecx, [esp + 0x74]
call fcn.0040dd80
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x150], 0xe
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
lea edx, [esp + 0x74]
push edx
mov al, byte [ecx]
mov ecx, dword [esp + 0x19c]
mov edi, dword [ecx + 0x1c]
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.004924b0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x472d83
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.00492600
xor edi, edi
jmp 0x472dad
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x472da1
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.00492600
jmp 0x472dad
lea ecx, [esp + 0x90]
call fcn.00461870
test bl, 0x10
je 0x472e0d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x472dc8
call fcn.00494a20
cmp eax, 8
jl 0x472e0d
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.0043f080
add esp, 4
cmp eax, edi
je 0x472df8
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x472dfa
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00447700
test bl, 0x20
je 0x472e46
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x472e28
call fcn.00494a20
cmp eax, 8
jl 0x472e46
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x472e4e
mov byte [esp + 0x181], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 0x5db598]
movzx ecx, byte [ecx + 0x5db598]
movzx edx, bl
and eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x472e96
cmp eax, edi
jne 0x472ece
cmp ecx, edi
je 0x472ece
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.004719c0
jmp 0x472ece
cmp edx, 1
jne 0x472ece
cmp eax, edi
je 0x472ece
cmp ecx, edi
jne 0x472ece
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.00491880
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x472ece
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.004708b0
mov eax, dword [esp + 0x150]
test ah, 1
je 0x472efc
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x472ef5
call fcn.00447690
push esi
call fcn.0043f0a0
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + eax]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x472d01
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x472c5d
mov eax, dword [esp + 0x198]
movzx ecx, byte [esp + 0x1c]
mov edx, dword [eax + 0x54]
shl ecx, 0xd
and edx, 0xffff1fff
or ecx, edx
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov esi, dword [esp + 0x198]
mov eax, dword [esp + 0x19c]
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.004724d0
jmp case.0x472b26.0
test al, al
je 0x472f7d
mov dword [esi + 0x154], edi
jmp 0x472f83
mov dword [esi + 0x140], edi
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.00482550
test eax, eax
jne case.0x472b26.0
mov ebp, dword [esi + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x472b26.0
mov esi, dword [esi + 0x54]
shr esi, 0xd
and esi, 7
cmp esi, edi
mov dword [esp + 0x4c], esi
je case.0x472b26.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x51e]
test cl, cl
mov dword [esp + 0x48], eax
je 0x47306e
mov ecx, dword [esp + 0x198]
call fcn.004811c0
mov esi, eax
cmp esi, ebx
je case.0x472b26.0
mov edi, dword [esi + 0x34]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x472ffc
mov ecx, edi
call fcn.0048e850
mov ecx, dword [esi + 8]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x47301d
mov edi, eax
mov edi, edi
push 1
push ebx
mov ecx, esi
call fcn.0051f360
dec edi
jne 0x473010
mov edi, dword [esi + 0x50]
cmp edi, ebx
je 0x473339
push edi
mov ecx, esi
call fcn.0051f2a0
mov eax, dword [ebp + 0x640]
mov eax, dword [eax + 0x2b0]
test eax, eax
jne 0x47304c
push 0xac
mov ecx, ebp
call fcn.00540e50
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.00583ad6
test al, al
je 0x473339
mov ecx, edi
call fcn.00522c70
jmp 0x473339
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x473083
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push edx
push esi
mov ebx, closesocket
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x4c], 0
call fcn.00490d80
cmp byte [ebp + 0x7e], 0x22
jne 0x4730cc
add dword [esp + 0x24], 2
cmp edi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x70], 0
je 0x473104
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.00490d80
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x473327
mov edi, edi
lea ecx, [esp + 0x74]
call fcn.0040dd80
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x150], 0xe
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
mov esi, dword [esp + 0x198]
mov edi, dword [esi + 0x1c]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
mov al, byte [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.004924b0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x4731a2
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.00492600
xor edi, edi
jmp 0x4731cc
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x4731c0
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.00492600
jmp 0x4731cc
lea ecx, [esp + 0x90]
call fcn.00461870
test bl, 0x10
je 0x47322d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x4731e7
call fcn.00494a20
cmp eax, 8
jl 0x47322d
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.0043f080
add esp, 4
cmp eax, edi
je 0x473218
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x47321a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00447700
test bl, 0x20
je 0x473266
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x473248
call fcn.00494a20
cmp eax, 8
jl 0x473266
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x47326e
mov byte [esp + 0x181], 1
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + 0x5db598]
movzx edx, bl
mov eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
and eax, 1
cmp edx, edi
jne 0x4732a7
cmp eax, edi
jne 0x4732d8
cmp ecx, edi
je 0x4732d8
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.004719c0
jmp 0x4732d8
cmp edx, 1
jne 0x4732d8
cmp eax, edi
je 0x4732d8
cmp ecx, edi
jne 0x4732d8
mov ecx, dword [esp + 0x48]
push ebp
call fcn.00491880
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x4732d8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.004708b0
mov eax, dword [esp + 0x150]
test ah, 1
je 0x473306
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x4732ff
call fcn.00447690
push esi
call fcn.0043f0a0
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x473120
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x47307b
mov eax, dword [esp + 0x198]
mov ecx, dword [eax + 0x54]
and ecx, 0xffff3fff
or ecx, 0x2000
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov al, byte [esp + 0x1a0]
test al, al
mov eax, dword [esp + 0x10]
je 0x4733e2
cmp dword [eax + 0x154], edi
jne 0x47339d
pop edi
pop esi
pop ebp
mov dword [eax + 0x150], ebx
mov dword [eax + 0x158], ebx
mov dword [eax + 0x15c], ebx
mov word [eax + 0x160], bx
mov word [eax + 0x162], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x150], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x158], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x15c], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x160], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x162], dx
pop ebx
add esp, 0x184
ret 0xc
cmp dword [eax + 0x140], edi
jne 0x473417
pop edi
pop esi
pop ebp
mov dword [eax + 0x13c], ebx
mov dword [eax + 0x144], ebx
mov dword [eax + 0x148], ebx
mov word [eax + 0x14c], bx
mov word [eax + 0x14e], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x13c], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x144], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x148], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x14c], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x14e], dx
pop ebx
add esp, 0x184
ret 0xc